Hi,
I am having a problem with includes. Specifically, I tried to include the "No right click script III (no alert)" script on a page. When the code is in the page it works fine, however I have over 200 pages I need to insert it into.
I though **No problem, just create and external JS Library file and I'll be done in time for supper** <-- That was the first problem - being cocky towards a computer!
However I copied the JS into a file (removing the <script></script> tags, and leaving the copyright notice intact, the file doesn't work. I used the line <script type="text/javascript" src="js/click.js"> Copyright.... </script> in the <HEAD> section but it doesn't work now. If I drop the JS back into the HTML file - presto it works!
Weird though is that I tried the samething with Lightboox 2.03 (using the includes) and everything works fine.
Any thoughts? I can't post a link because I haven't uploaded the page yet - it's a mess now!
BTW, I am doing the design in Frontpage 2003, if that makes any heehaw.
Thanks,
Tim



Reply With Quote

Bookmarks