Light Window

After researching every single modal window, lightbox, slimbox, etc out there nothing fit the bill. Granted some of them were very nice but only fit a specific purpose, others were a nightmare on the code end, and others were just hacks of another. None of them truly supported all of the features we needed and those that were close could not be easily adapted without a bottle of Prozac near by. Other caveats were the complete lack of ability to style and position the system, and the insane over-kill of some of the systems trying to reproduce either another desktop (As if most computer users aren't confused enough) or the reproduction of a popup window (Show me someone who likes popup windows...). Lastly, most people didn't actually test for their media types and how they behaved in other browsers and operating systems (Yes the movies and Flash work in Firefox for the Mac).

Light Window demo

Changes to the code below will update the demo above in real time.



Sept. 28, 2007, 1:05 p.m. - Hany Sakr

It is not working correctly on IE 7, it needs first to load the picture to open it correctly

April 27, 2008, 6:20 p.m. - Edwin

Coloquei ele junto com o Css Dock Menu e o Css Dock Menu parou de funcionar.....:(

April 27, 2008, 6:21 p.m. - Edwin

I placed he with Css Dock Menu and Css Dock Menu stopped working. . . . . : (

Oct. 17, 2008, 12:59 a.m. - Francis

I need to do strict HTML, and "params" is not a standard parameter for the <a> tag, how can I doo ?

Nov. 11, 2008, 10:35 p.m. - Amit

i want to open a .aspx form using light window on click event of button, because i need to pass query string for that form from server side.

March 23, 2009, 1:03 a.m. - Stone Deft

Doesn't support flashvars what a bummer

May 19, 2009, 8:18 p.m. - Mr_ZLO

it's not so good :( if i'm create this example in file text.html - it's work, but if do it: text.html? - it's not work :(

June 18, 2009, 3:24 p.m. - Nancy Raskauskas

Awesome. You broke this down and made Lightwindow so easy to understand. Now if I could just get it to actually show up on my client's website. It works in Dreamweaverand Browser Preview.

July 14, 2009, 2:20 p.m. - 1001001

Currently it does not work in FF 3 on mac. But the error looks more general: parent.$("lightWindow-iframe").contentDocumnent is undefined am I missing something, or is it just a VERY basic demo, without actual functionality!?

July 29, 2009, 2:33 p.m. - Mike

I'm a noob, so excuse what may be an obvious question, but how did you change the fonts on your titles, and how did you make the "close" type red on the "External Image - An Image pulled from an External Source." link?

Feb. 22, 2010, 6:59 p.m. - Craig

Does anyone have a download link for Light Window. StickManLabs"s website has been offline for a while now

April 12, 2010, 3:59 a.m. - Raymond

Very nice. Sadly it does not do anything with forms when I open them in this window. Wanted to use it to edit things in database.

May 20, 2010, 1:28 p.m. - Phy

Only see the "External Image" link working on this demo page... What happened to the other 3?

May 21, 2010, 3:26 a.m. - sonia

i am not able to use it . please guide

June 10, 2010, 10:48 p.m. - Michael Suarez

image loads, but urls, videos and pdf does'nt show up on this demo

July 26, 2010, 9:19 p.m. - drhuman

Good job well done looks very clean.

Oct. 22, 2010, 8:48 a.m. - kablo tv

thanks good codes

Feb. 3, 2011, 7:45 a.m. - sravan

How to load light window on page loads? and I can able to load that on load but when I tried click on any link which inside lightwindow its opened inside the lighwindow. I dont want to open that inside lightwindow and open page as normal ?

April 26, 2011, 11:12 p.m. - Manel

Some times when the lightwindow animation stops the lw suddenly resizes. Anybody notice?

Aug. 26, 2011, 4:23 a.m. - Диети

Ooo this is cool popup. I like This tip.

Aug. 31, 2011, 9:13 p.m. - Shin

can i fix the width for the lightwindow??

Sept. 13, 2011, 1:33 p.m. - Angelo Inva

Hello, congratulations! But in iphone??? whats happened with scroll? Is there one way to fix it? i just want to run this script on my iphone! Thanks for help!

Dec. 27, 2011, 1:43 a.m. - gtrpapa

please give me