Changing frame sizes dynamically

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
kree777
Advanced
Advanced
Posts: 13
Joined: Tue Jan 25, 2005 1:48 pm

Changing frame sizes dynamically

Post by kree777 »

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? :?:
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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
kree777
Advanced
Advanced
Posts: 13
Joined: Tue Jan 25, 2005 1:48 pm

Post by kree777 »

Shot! Thx alot!
Will give a try ;)
kree777
Advanced
Advanced
Posts: 13
Joined: Tue Jan 25, 2005 1:48 pm

Post by kree777 »

Tried that and it works like a charm!
Thanks! :D
Post Reply