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:38
Popup on link, clicking link causes java-script error
Poster: mjt
Dated: Friday March 12 2004 - 0:30:28 GMT
Need fast help please,
I switched from v3 to v5.
My menu uses onmouseover=popup("home") AND onmouseout=popdown() to open/close the menu when on the link.
However, now if I click the link itself, I get a javascript error, if I click a menu item in the menu I do not get an error. This is sort of urgent...
Here is a sample (click on HOME) to see, it may be fixed later or I may switch back to the old version if no replies...
http://www3.americanradiology.com/pls/web1/wwmain.home
Thanks,
Meyer
Poster: Maz
Dated: Friday March 12 2004 - 0:48:20 GMT
It works okay for me in Safari. I don't know javascript, maybe one of the moderators will show up.
As for your menu data, I have these suggestions.
1. missing closing ;
screenposition="center"
2. Good idea to end all these ; before " and remove the double ;; in all of them. separatorsize=1 is repetition, place it once above in the main syles. The url doesn't look right, how about url=/wwwmain.html;
aI("text=Go to the ARS Home Page;url=wwmain.home;;separatorsize=1")
Can't remember is itemwidth needs quotes or not.
Are you sure you need open close js? Maybe you only needed it with version 3?
maz
MORE INFORMATION
Poster: mjt
Dated: Friday March 12 2004 - 12:10:08 GMT
I have new information as I have been trying to resolve this,
I only get the javascript error when:
I click on "services" or "scheduling" AND
I keep the mouse over the same link so when the new page loads the menu pops up just after it loads....
I do not get the error if:
1)I click on another link that pop's up a menu
or
2)I move the mouse after clicking one of those two links?
Even more info
Poster: mjt
Dated: Friday March 12 2004 - 12:32:53 GMT
Please read this from top to bottom, I keep getting more info.
Now I see the only two pages with this behavior are the 2 pages that contain a select list on the page.
Looking for the cause/solution.
Thanks,
Meyer
Resolved
Poster: mjt
Dated: Friday March 12 2004 - 13:47:38 GMT
Upgrading my milonic menu files to 5.06 (the latest version) corrected the issue of select lists causing the error.
This is now resolved.
Thanks