You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
964 B
38 lines
964 B
<html> |
|
<head> |
|
<!--[if lt IE 5.5]> |
|
<script language="JavaScript" type="text/javascript" src="http://burstproject.org/burst/fix_ecma.js"></script> |
|
<![endif]--> |
|
<script language="JavaScript" type="text/javascript"> |
|
// Dojo configuration |
|
djConfig = { |
|
isDebug: true |
|
}; |
|
</script> |
|
<script language="JavaScript" type="text/javascript" |
|
src="../../dojo.js"></script> |
|
<script language="JavaScript" type="text/javascript"> |
|
dojo.require("dojo.io.*"); |
|
|
|
dojo.addOnLoad(function(){ |
|
dojo.io.bind({ |
|
url: "frag.xml", |
|
mimetype: "text/xml", |
|
load: function(type, xml, e) { |
|
// add the HTML |
|
var html = xml.getElementsByTagName("html").item(0); |
|
document.body.innerHTML += html.firstChild.nodeValue; |
|
|
|
// run the script |
|
var script = xml.getElementsByTagName("script").item(0); |
|
dj_eval(script.firstChild.nodeValue); |
|
} |
|
}); |
|
}); |
|
</script> |
|
</head> |
|
<body> |
|
View Source |
|
</body> |
|
</html> |
|
|
|
|