I have a website with frames and for my menu to work a have to add this (http://ww.vermonden.nl/menu1.txt) to the forum. Only i have no idea to witch file(s) i should add it and how i should add it. In a normal html page to link to the file looks like this: <script src="menu1.js" type="text/javascript"></script>
I tried it like this but it doesn't work. Is it in the wrong place or should this <script src="menu1.js" type="text/javascript"></script> be different ?
I would say its most likely in the wrong place, generally you would have the javascript includes right up in the <head> section of the HTML. Look in inc_header.asp and find out where the HTML <head> tag is written and try insterting your code around there. Word of advance warning theres actually TWO places in inc_header.asp that writes out the <HEAD> tag.
Is menu1.js in the same directory as your forum files? If not then you will have to point the src attribute to the correct directory (e.g., ../menu1.js if the file is one directory above your forum files).
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.”
oh poop.. I forgot to add the quotes. Add a quote before <script and a quote and ampersand after </script> so it'll look like this: "<script src=""menu1.js"" type=""text/javascript""></script>" & vbNewLine & _