[Javascript] Delay for onclick to occur from within this simpleinline line...
Peter Brunone
peter at brunone.com
Mon Sep 5 10:14:45 CDT 2005
Sure.
<a href="#bottom" onclick="setTimeout('obj.slideTo(0, -200, 1000, -.6)',
1000); return
false;">+</a>
That will give you a delay of 1 second (1000 milliseconds).
Cheers,
Peter
-----Original Message-----
From: javascript-bounces at LaTech.edu On Behalf Of Guillaume
Hi all,
A simple question:
Is it possible to specify a simple delay for onclick event to occur from
within this simple inline line ?
<a href="#bottom" onclick="obj.slideTo(0, -200, 1000, -.6); return
false;">+</a>
Thanks.
Guillaume.
More information about the Javascript
mailing list