On top of that it has to intercept any keyboard and mouse events/keep them from bubbling. And some elements elsewhere on the page have to be otherwise disabled/intercepted to disallow interaction.
- Richard On Mon, Dec 8, 2008 at 10:39 AM, Liam Potter <[EMAIL PROTECTED]>wrote: > > bascially, it will be a div the same height and width as the webpage with a > background color with an opacity set, or maybe an alpha png depends who > coded it. > > generally that is how they are done. > > > jh wrote: > >> Hi everyone ! >> >> I'm really curious about how modal window work behind the jquery. >> When modal window appears, the entire web page changes color into >> black or gray so that it becomes disabled, but modal window. >> >> Can you guys PLEASE tell me how it really work ? >> What javascript code beind those kind of jquery take place ? >> >> modal window examples: >> http://dev.iceburg.net/jquery/jqModal/#examples >> http://www.ericmmartin.com/simplemodal/ >> >> > >