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: Anything Goes
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:12

looking for an example of sound on mouseover


Poster: wpatters1229
Dated: Friday March 3 2006 - 22:58:33 GMT

I know you can do a onfunction on a menu but I just want to see an example on a site so I can test it againest several browser types and then it would be nice to see the aI for one of the items. I did a search but kept coming up with a link to a page that would not load.


Poster: Andy
Dated: Monday April 10 2006 - 15:19:39 BST

Hi,

The menu can fire onmousover and onmouseout events (onfunctionand offfunction)

You could use these to fire a custom JavaScript function to play a sound.

sound example


Poster: wpatters1229
Dated: Monday April 10 2006 - 17:25:18 BST

I actually figured it out from one of your examples. The only problem is that it takes time for the sound to get loaded and therefore makes using the menus a bit slow for the first time. The files are really small...1k It was just something to play with.

Thanks


Poster: Migru
Dated: Wednesday April 19 2006 - 8:46:07 BST

Hi

Quote:
The only problem is that it takes time for the sound to get loaded


preload the sound,

http://www.javascripter.net/faq/sound/preload.htm

Michael

Add it where? - what to add?


Poster: idaryl
Dated: Friday September 29 2006 - 21:37:51 BST

The menu can fire onmousover and onmouseout events (onfunctionand offfunction)

Where do you add the string for this to work - I found this:
Code:
// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)


or is there another place :?: :?:

and if its a funtion() call - how is the string written onmouseover="mySwf.Play()

Quote:
I have written flash file that responds to a mouseover/onclick/mouseout event - and I'm trying to get it to work within the structure of the menu system


any help on this would be appreciated[/i]


Poster: kevin3442
Dated: Sunday October 1 2006 - 7:11:50 BST

There are two menu item properties that correspond to onmouseover and onmouseout events; they are onfunction and offfunction, respectively. Click here to see an example showing the use of these properties.

Hope that helps,

Kevin


Poster: Ruth
Dated: Sunday October 1 2006 - 10:12:09 BST

Hi,

Also, you can try here which is specific to doing sound onmouseover using onfunction.




Ruth