Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:06

onMouseOver Events


Poster: WDSI
Dated: Thursday October 21 2004 - 7:17:22 BST

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! :)


Poster: Ruth
Dated: Thursday October 21 2004 - 13:16:32 BST

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://www.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://www.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


Poster: WDSI
Dated: Thursday October 21 2004 - 14:21:26 BST

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. ;)