DHTML menu builder - dropdown problem
Using version 2.1.
I want the menu to appear below my image header on the page. So I've set variable StartTop to 213 (from the default 0). Works fine - except that the submenus expand UP instead of drop down.
I've tried amending other promisingly-named variables, but can't get it to work. Any suggestions?
Thanks.
I want the menu to appear below my image header on the page. So I've set variable StartTop to 213 (from the default 0). Works fine - except that the submenus expand UP instead of drop down.
I've tried amending other promisingly-named variables, but can't get it to work. Any suggestions?
Thanks.
Richard,
You can try a different DAT file for the DHTML menu builder. The self extracting zip file has a replacement DAT file and a readme file that explains how to make the change.
http://www.coffeecuphelp.com/broberson/dhtmldat.exe
You can try a different DAT file for the DHTML menu builder. The self extracting zip file has a replacement DAT file and a readme file that explains how to make the change.
http://www.coffeecuphelp.com/broberson/dhtmldat.exe
Richard,
What program are you using to create your web page?
Can you provide a link to the site?
What program are you using to create your web page?
Can you provide a link to the site?
Bill
I've tried the new DAT file - same problem. I've uploaded 2 test pages:
http://www.richardlawton.net/test.html
This is completely empty apart from the menu - and the submenus go to absolute top 0px.
http://www.richardlawton.net/test2.html
This has an image, and the submenus expand up from the main menu.
In both cases I've made the following script change only:
var StartTop=213; // Menu offset x coordinate
I've tried the new DAT file - same problem. I've uploaded 2 test pages:
http://www.richardlawton.net/test.html
This is completely empty apart from the menu - and the submenus go to absolute top 0px.
http://www.richardlawton.net/test2.html
This has an image, and the submenus expand up from the main menu.
In both cases I've made the following script change only:
var StartTop=213; // Menu offset x coordinate
BTW - I just use a text editor for coding. Problem occurs on both IE7 and Firefox 3.0
I've identified the problem. Not sure if it's a bug, a feature or just how things are...
If there is apparently nothing below the menu, then the submenus expand UP. If I add a load of line breaks to test.html (above) then it works fine.
In my actual code I was working on, the menu script was followed by an absolutely positioned div and nothing else. So the script reckons there's nothing there. If I add a load of line breaks, the menu drops down ok.
Sometimes I hate computers.
If there is apparently nothing below the menu, then the submenus expand UP. If I add a load of line breaks to test.html (above) then it works fine.
In my actual code I was working on, the menu script was followed by an absolutely positioned div and nothing else. So the script reckons there's nothing there. If I add a load of line breaks, the menu drops down ok.
Sometimes I hate computers.

Richard,
Interesting that adding content below the menu would fix that. I have never had that issue.
I am waiting for the computer that understands what I want and does it. I expect to be waiting for that computer when I die.
Interesting that adding content below the menu would fix that. I have never had that issue.

I am waiting for the computer that understands what I want and does it. I expect to be waiting for that computer when I die.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.