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

Have the menu links call javascript functions instead of URL


Poster: fragile
Dated: Thursday November 11 2004 - 17:03:04 GMT

My webapp relies heavily on client-side javascript to display different views dynamically and I am considering using the milonic V5.0 navigation menu.

Is it possible to have the menu items call a javascript function instead of just passing it a URL e.g. clicking a link in the menu would call top.myfunction()

I am very impressed with the milonic menu thus far, it is very extensible :D


Poster: fredlongworthhighschool
Dated: Friday November 12 2004 - 8:15:52 GMT

Would this work:
Code:
aI("text=Call Function;url=javascript:top.myfunction();");


Poster: fragile
Dated: Friday November 12 2004 - 10:58:08 GMT

of course, thanks fredlongworthhighschool :D


Poster: fredlongworthhighschool
Dated: Friday November 12 2004 - 13:38:26 GMT

No problem, glad to be of help and to get in before John for a change!


Poster: John
Dated: Friday November 12 2004 - 20:12:32 GMT

fredlongworthhighschool wrote:
No problem, glad to be of help and to get in before John for a change!

Andy, you should know you're always welcome to jump in here. :)

Besides, I've been at the doctor all morning... :cry: