Results 1 to 1 of 1
Mar 31, 2004, 07:20 #1
- Join Date
- Mar 2004
- 0 Post(s)
- 0 Thread(s)
Navigation Menu - Siteroot Problem
I have a file myNav.js with the URL paths and Links Text defined. siteroot is http://my.site.com.
var links = new Array
var links_text = new Array
I am using this array in another file (which is not at the siteroot but in 'navigation' folder under siteroot) to output the links.
for(var i=0; i<links.length; i++)
document.write('<a href= "' + links[i] + '">' + links_text[i] + '</a>');
Thanks for the help,