Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:51
really interesting...
Poster: gjensen
Dated: Monday March 7 2005 - 4:00:49 GMT
I took the page source of the webpage of the broken menu, and created a test file... loaded to the server ....and it worked !!! So there is a problem of when the body code (of the included JS) is NOT parsed by the browser after the header code...in that sequence. If it does not parse in that sequence, it will not work. Somehow the JS code in the body is being parsed before the code in the head.
Understand? Think there's a way to fix it?
http://www.eaglepeople.us
Poster: Ruth
Dated: Monday March 7 2005 - 9:42:59 GMT
You have some other problems on the page, but the reason for the error and the menu not showing is in the url=
Code:
<? echo "/edit.php" ;?>;
The program is expecting a ) after the semi_colon just before the ? You need to escape that ? The code should be Code:
aI("text=sample text;url=<? echo '/edit.php' `;?>;");
I downloaded the page to get at the source code. Could you say what it is you are trying to do? When I look at the page, it seems you have the subbmenu samples set to always visible and placed in a div with position="relative", but then in the menu_data.php file you have the main menu by itself and set at top=180. First, you shouldn't put the menu in a div, it can cause it to break or become non-functioning in some browsers.
The other thing is you've split the 3 program files, putting milonic_src in the head and the other two in the body, you should put the calls together, best place is the first thing after the body tag.
If you could tell us how you want the menu to display we can help with that.
Ruth