View Full Version : Help with DHTML Menu script Please!

02-21-2007, 01:18 AM
1) DHTML Menu v5.7

2) http://www.dynamicdrive.com/dynamicindex1/jimmenu/index.htm

3) I was wondering if anyone could help me.

My problem is this I am using this menu on a future site I have it set up so that the main page calls the menu file (SSI) since I do not want to have to update all pages. The problem I am having is that I can't make it stay within the table on the original page. Once the main page calls it goes to the top of the screen instead of in the table. I know I could go in and change the parameter by pixel position but if I change my site banner (which I will) if it is a different size I need it to auto adjust. So what I really need to happen is to anchor the menu inside the table on the menu page. So that when the main page calls the menu page the menu stays where it is suppose to in the table. Any help would be appreciated very much.

Here is a link to my page any help is great full

02-22-2007, 11:03 PM
Please Can anyone help the poor. Or at least me:)

02-22-2007, 11:11 PM
Ouch... what a nasty piece of code...
You'll have to replace this segment of text in all of the browser detected js files:

this.main.style.top = y + "px";

this.main.style.top = (y+300) + "px";
Edit the number in red if you need to adjust it some more.

02-22-2007, 11:49 PM
Thank you for your response. This will not work if I change the banner or add anything to the top I will have to reposition it every time. I was hoping to find something that would lock it into the table the SSI calls up but might not be able to do this. I guess I will try and find some other types of menus that do similar to this one. Any suggestions:D