Need Help with Javascript link -- {SOLVED}

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Ralls
Advanced
Advanced
Posts: 16
Joined: Wed Jan 24, 2007 9:37 am

Need Help with Javascript link -- {SOLVED}

Post by Ralls »

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
Ralls
Advanced
Advanced
Posts: 16
Joined: Wed Jan 24, 2007 9:37 am

Re: Need Help with Javascript link

Post by Ralls »

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
Post Reply