[thelist] JavaScript Question

Hassan Schroeder hassan.schroeder at gmail.com
Sun Oct 30 10:31:01 CDT 2011


On Sun, Oct 30, 2011 at 7:50 AM, Ran Mano <rm at manointeractive.com> wrote:
> I'm developing a web site with a modal window that launches on page load.

> One problem -- the client wants for the modal window to close after X seconds (or should I say XXXX miliseconds).  How would I go about this?

That code is making my head hurt this early in the morning but --

Wouldn't the jQuery hide function work? <http://api.jquery.com/hide/>

  $('#something').hide(5000); // or whatever desired time

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroeder at gmail.com
http://about.me/hassanschroeder
twitter: @hassan


More information about the thelist mailing list