onMouseOver Events

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
WDSI
Beginner
Beginner
Posts: 2
Joined: Thu Oct 21, 2004 6:59 am

onMouseOver Events

Post by WDSI »

I'm in the process of developing a new site for my company, which is here:

http://www.wyodata.com/NewSite/6631.html

If you run your mouse cursor over the menus you will note that the banner at the top changes. Now, here is a version using the Milonic menu:

http://www.wyodata.com/NewSite/6631_mnu.html

Obviously, the banner at the top of the page doesn't change because the onMouseOver event used with the buttons isn't triggered because they're not there. I need to be able to do one of two things:

1) cause the banner to change when a menu is activated (by hovering over it). This is preferred because I really like the Milonic menu system.

2) dynamically create sub menus on the fly, so I can use the buttons but have the sub menus appear when they're clicked on

Any help anyone can provide would be fantastic. Thank you in advance! :)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I can give you some suggestions to check out, but since I don't know functions I don't know if any of these will be helpful. There is a menu sample http://milonic.com/menusample24.php which is to do with using a popUp() function to show a submenu placed by images. It uses onmouseover/off events to work so I don't know if it's possible to 'combine' the onMouseOver swap images function you have with that.

The menu also has on/off function parameters. So, it might be possible to link your swap image function to the menu. THough I think you'd have to write a function to tell it to implement your swap image function now existing. http://milonic.com/menusample15.php

I'm not sure what you mean by dynamically create submenus on the fly, but if you try a forum search there are lots of references to dynamic menus. I think most are about creating from a database, asp etc.

Ruth
WDSI
Beginner
Beginner
Posts: 2
Joined: Thu Oct 21, 2004 6:59 am

Post by WDSI »

You are awesome! :D

menusample24 is how to do my first (and prefered option), and menusample15 is how to do my second request. This is perfect. Thank you very very much!

By dynamic, I really just meant "popup" menus. I don't know what I was thinking with all that "on the fly" stuff. ;)
Post Reply