Hi there,
On my site I use a DIV or a SPAN with on OnClick to call a Javascript function instead of a <a href=> for links. I use this method because a page caled with <a href> with Javascripts does never finish loading.
Is it possible to only call a Javascript function when a user clicks on a menu-item?
Example:
addmenu(menu=["testing",
,,120,1,"",style1,,"left",,,,,,,,,,,,,
,"Test","myfunction(1)",,,1])
I know I can place 'javascript:' before 'myfunction' but then it's called as a href and I have the problem as mentioned above.
Thanks,
Greetings, Bram.
no href as URL but only Javascript
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact: