Greetings!
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?
Thanks,
have a lot of fun,
Paxton
Calling javascript functions
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=http://www.spamassassin.org/;onfunction ... vafunction[/i]");
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
e.g. http://milonic.com/menusample15.php
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=http://www.spamassassin.org/;onfunction ... vafunction[/i]");
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
e.g. http://milonic.com/menusample15.php