i have what is a simple problem (i think) but im stumped...i just started learning this stuff on my own...so ..here we go
d = new dTree('d');
d.config.useSelection = "false";
d.config.useCookies = "true";
d.config.closeSameLevel = "true";
d.add(31,2,'Bluegrass Compilations','D:/mp3/++Compilations++/Bluegrass Compilations','','','img/folder3.gif','img/Folder3open.gif');
This all works fine...but what i need is that last line to be a variable called from the html page the script is loaded from...cause it is diffenent from each page....i know i could just plug the script into the html page but i have tonnes of these pages so i externallized the .js file so as not to have to update each html page individually....again it works...i just dont know how to set the variable on the html and then call it in the js.....
the variable would be where the number 4 is..all it does is tell the tree to expand to that position ...i could live without it but heck i know i should be able to do it and its driving me crazy