On Jun 29, 12:20 pm, "G[N]Urpreet Singh" <[EMAIL PROTECTED]> wrote:
> What I want to achieve is that the user click "Build" and the "Preview"
> links gets updated with the new link. Before the link is updated, it is
> replaced by a "Loading..." msg. This is working perfectly.
>
>  What I cant figure out is that can I make the browser wait for half a
> second after loading so that the user sees something changing and gets a cue
> that the link has been updated. Right now everything is happening in a split
> second and the link gets update quicker that the user can notice.
   <snip>

   Something like this should work:
$('#foo').html('<p>Loading...</p>').fadeOut('slow', function () {
    $(this).html('<p>Done</p>').fadeIn('slow');
}
);

--
  <?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com/

Reply via email to