PDA

View Full Version : Top Navigational Bar III v3.5



netseeker007
05-27-2008, 11:50 PM
1) Script Title: Top Navigational Bar III v3.5

2) Script URL (on DD):

3) Describe problem:

I have installed this and have it working on the root directory of my web. The js files are all located in the root directory at the moment. The custom.js points to pages in other sub-directories of my web.

I have subdirectories where I wish to use this as well but cannot seem to get it to work in them. I have added the subdirectory reference to the js files as follows:

<!-- The 3 js scripts below used for TopMenu -->
<script type="text/javascript" language="javascript" src="../sniffer.js">

//Top Navigational Bar III v3.5 (By BrotherCake @ cake@brothercake.net)
//Permission granted/modified by Dynamicdrive.com to include script in archive
//For this and 100's more DHTML scripts, visit http://www.dynamicdrive.com/
//This notice MUST stay intact for legal use

</script>
<!-- custom.js contains the TopMenu definitions. Absolute page refs so doesn't work on HP -->
<script type="text/javascript" language="javascript1.2" src="../custom.js"></script>
<!-- style.js contains code definition for TopMenu. Cannot be edited -->
<script type="text/javascript" language="javascript1.2" src="../style.js"></script>
<!--end TopMenu js -->

and of course the script to display it:

<script type="text/javascript" language="javascript1.2" src="../menu.js"></script>

Can you please advise if I am doing this correctly and/or how to fix so as to get this working on all subdirectories.

Your help would be appreciated.

Thanx.

Larry