thunderwatch
08-31-2002, 05:08 PM
I'm trying to implement the nav bar at:
http://www.dynamicdrive.com/dynamicindex1/topmen3/index.htm
When I put the various *.js files in their own directory, and have them called in the html from a separate directory, the navbar doesn't work.
Does anyone know why this is? It's seems very inefficient to repeat the *.js files in all directories for all html files. It would be better to keep the *.js files in one place, and have the html files call them with a relative or absolute path. For instance:
<script language="javascript1.2" src="../navbarscript/menu.js"></script>
Thank you for your time!
--Thunderwatch
http://www.dynamicdrive.com/dynamicindex1/topmen3/index.htm
When I put the various *.js files in their own directory, and have them called in the html from a separate directory, the navbar doesn't work.
Does anyone know why this is? It's seems very inefficient to repeat the *.js files in all directories for all html files. It would be better to keep the *.js files in one place, and have the html files call them with a relative or absolute path. For instance:
<script language="javascript1.2" src="../navbarscript/menu.js"></script>
Thank you for your time!
--Thunderwatch