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:56
Changing frame sizes dynamically
Poster: kree777
Dated: Tuesday January 25 2005 - 12:54:38 GMT
I have two frames with my menu in the upper most frame. When I mouse over my menu I want to be able to trap that event and call a JS function to change the frame sizes and when the user has either selected an item or the menu has closed down I want to be able to trap that event and call another function to change the frame sizes again. I have written the JS to change the frame sizes but I want to know where I can trap these events?
Poster: kevin3442
Dated: Tuesday January 25 2005 - 16:33:17 GMT
Use the onfunction property for the onmouseover event. Use the clickfunction property for onclick. These properties can be applied as style properties or as item properties. See this sample page for an example of using mouse over events on menu items.
Cheers,
Kevin