some voodoo in your code
I have referred a part of your code in a thread I opened at comp.lang.javascript.
[source: grid.js, ActiveWidgets Grid 1.0.1]
$import("xml/table.js");
...
function $import(path){
var i, base, src = "grid.js", scripts = document.getElementsByTagName("script");
for (i=0; i<scripts.length; i++){if (scripts[i].src.match(src)){ base = scripts[i].src.replace(src, "");break;}}
document.write("<" + "script src=\"" + base + path + "\"></" + "script>");
}
it's in comp.lang.javascript, or
http://www.highdots.com/forums/showthread.php?postid=3847305#post3847305
you would find it interesting.
[source: grid.js, ActiveWidgets Grid 1.0.1]
$import("xml/table.js");
...
function $import(path){
var i, base, src = "grid.js", scripts = document.getElementsByTagName("script");
for (i=0; i<scripts.length; i++){if (scripts[i].src.match(src)){ base = scripts[i].src.replace(src, "");break;}}
document.write("<" + "script src=\"" + base + path + "\"></" + "script>");
}
it's in comp.lang.javascript, or
http://www.highdots.com/forums/showthread.php?postid=3847305#post3847305
you would find it interesting.
sundew
June 1,