If you know how long the movie is, you can use the native window.setTimeout() function. // Displays alert after 5 seconds window.setTimeout(function() { alert('5 seconds have passed'); }, 5000);
-- Hector On Tue, Jul 21, 2009 at 1:48 PM, Mats <dothebizz...@gmail.com> wrote: > > I have a page that is a displaying a Movie, or it's really 3 Movies > but to get to the 2nd Movie the user has to click a "Next" button. My > problem is that I want to delay this button to appear until the movie > is more or less done... could be 7 or 16 minutes. > What would be the easiest and most propriate way to do this using > jQuery... swaping out one DIV for another once after X minutes? > > Thanks in advance > /Mats/ >