Javascript has a setTimeOut() function - this can delay the call of a
javascript function by a specified time.

http://www.w3schools.com/js/js_timing.asp - for more info.

M

On Nov 4, 4:45 pm, Manuel Meyer <[EMAIL PROTECTED]> wrote:
> Hey,
> is there a way of delay the delivery of a link?
> The idea I have is to display a disclaimer in case a <a>-element,  
> pointing to an external site, is clicked.
> To ensure the user can read this disclaimer, i would like to delay the  
> browser for 1 or 2 seconds, as ie Opera reacts very fast, while with  
> FF on Mac OS X I have a lot time to read it.
>
> I hoped there would be an equivalent to preventDefault(), but there  
> isnt, right?
>
> So another solution could be writing the href-attribute to a variable  
> and make the browser execute it later.
> But as I am a jQuery-newbie I dont know how to do it. Is it possible  
> at all?
>
> Thanks, Manuel

Reply via email to