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

Calling javascript functions

Poster: jpaxtons
Dated: Thursday September 22 2005 - 20:50:47 BST

Slick menus and I see I can showmenu or url. I don't see a way in the documentation where I can call my own Javascript function--(think ajax)
Is this possible and if so what is the syntax?

have a lot of fun,


Poster: stuart
Dated: Thursday September 22 2005 - 21:43:47 BST

Hi Paxton

Calling javascript is easy
The simplest way (and I'm no expert here) is to add the javascript function to you menu item declaration
aI("text=Spam Assassin;url=;onfunction=myjavafunction");
you can also use offfunction, clickfunction etc.
There may be more options as well that I'm not aware of.

Have a look at the Quick reference guides and sample applications

Poster: jpaxtons
Dated: Friday September 23 2005 - 16:56:52 BST

Great! I found your referances, thank you!

Have fun!