Page 1 of 1

do an action onClick of an html link

Posted: Wed Dec 13, 2006 3:13 pm
by Mythic Fr0st
How would I get my script to 'do an action' onClick of an html link?

Code: Select all

<a href="blah" onClick=$vert=0, $horz=0>Blah</a>
thats basically what I want -.- perhaps I could call a function?

Posted: Wed Dec 13, 2006 3:16 pm
by Burrito

Code: Select all

<a href="javascript:void(0)" onClick="whatever()">