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

Need Help with Javascript link -- {SOLVED}


Poster: Ralls
Dated: Wednesday October 31 2007 - 11:47:52 GMT

I'm trying to incorporate this javascript link into the menu as an aI line:

<a href="#" onclick = "show('template33');return false;">Link</a>

Can someone show me how to accomplish this? I've tried a number of things suggested in the forum, but can't seem to get it to work. Here is my last attempt (which doesn't work):

aI("Text=Link;url=javascript:clickfunction=show(template33);return false;;");

Thanks

Re: Need Help with Javascript link


Poster: Ralls
Dated: Wednesday October 31 2007 - 18:56:49 GMT

I solved the problem. Here's the code:

aI("text=Link;url=javascript:clickfunction=show('template33');image=test1.gif;overimage=test2.gif;imagepadding=4;imageposition=right;");

FYI