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:52
popup function
Poster: nboyad
Dated: Thursday October 12 2006 - 8:12:37 BST
Hi!
I am trying to use popup function to have a dropdown table on mouseover. It looks like it doesn't like the html inside the menu. Is this right?
Example:
aI("text=<table><tr><td><img></td><td>My message</td><td><img></td></tr></table>;url=http://www.milonic.com/cbuy.php;");}
If you look at http://babycenter.marketlive.com/category/bob.do I need to have all selects to show up on mouseover on " ML Test Data 1 Finder".
Thank you for your wonderful help.
Poster: kevin3442
Dated: Thursday October 12 2006 - 8:18:39 BST
Hi,
The double quotes in your html will have to be either (a) removed, (b) escaped, or (c) changed to single quotes. The first double quote after "text=... will end the string passed to aI() prematurely and cause a js error. You also need to add type=html; to the menu item definition passed to aI().
Cheers,
Kevin