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:26
HOw to make clickfunction work!
Poster: alianto
Dated: Friday May 28 2004 - 8:25:29 BST
Hi there,
I am having a bit of trouble with my clickfunction.
Ok, I have a list of menus that dropdown. When one of the drop down menus is clicked on, the content of that dropdown will be displayed on a frame on my page (thus, not the whole page is refreshed when a menu/submenu is clicked, but the frame only).
Ok, here is my problem. once I click on one of the menus/submenus, on do not move my cursor away from it, then the dropdown menu still stay there until my cursor is off the dropdown menu. Some users find it very annoying, thus, i really wanna get rid of it.
So I use look at menu properties and found clickfunction. then I assign it to the method closeAllMenus(); however, it didn;t work, thus, maybe the way I use it was wrong.
here is the code.
aI("text=TVC;bgimage=images/menu_dots.gif;overbgimage=images/menu_dots.gif;url=http://mywebsite_page.asp;clickfunction=closeAllMenus();");
Can someone pls tell me why the dropdown menu wont close even if the above submenu item is clicked.
Any help will be appriciated.
Regards,
Ali
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
