Link to home
Create AccountLog in
Avatar of conrad2010

asked on

JavaScript: change DIV content after 30 seconds

I have a JQuery "lightbox" page pop up in betweeen page transitions.

The content of the "lightbox" is a DIV with a "pease wait..." spinning gif image... sometimes the page transitions fail and the lightbox stays on.

I would like to change the spinning gif image to some other text message after 30 seconds... I assume javascript can do the trick but how?

this is the div for the spinning gif:

<div id="inline_example1" style="padding:30px; background:#fff;">
    <center><p><img src="/images/ajax-loader.gif" /></p></center>
Avatar of HainKurt
Flag of Canada image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account