Portal Home > Knowledgebase > Articles Database > Anyone used Lightwindow?


Anyone used Lightwindow?




Posted by netfreak, 12-05-2007, 09:50 PM
I'm attempting to use Lightwindow 2 (http://stickmanlabs.com/lightwindow/#howtouse) to display a URL within a javascript popup box. I use Lightbox for displaying images and it works no problem, but with Lightwindow it just opens the URL in the main window. Lightwindow is based on Lightbox so I find it odd that one would simply not work. Anyone have any tips?

Posted by Codebird, 12-06-2007, 04:50 PM
do you mean light box? the thing that hides all the page and just leaves a white space for what it displays?

Posted by netfreak, 12-06-2007, 09:58 PM
Lightbox only does images, so I use that in one area of my page. Lightwindow is a modified version of Lightbox that does URLs, movies, and everything else instead of just images. The configuration for both is the exact same, except Lightwindow just doesn't work whereas Lightbox does.

Posted by Codebird, 12-07-2007, 03:50 AM
I'll check it out today, and try to answer you, hope it'll be good

Posted by sscon, 12-07-2007, 05:33 AM
I've had similar issues with LightWindow. Do you have a full DOCTYPE declaration on your page? (With a valid DTD URL?) If so, what DOCTYPE are you using? (Using a STRICT mode doctype and the author tag will probably give errors, that really needs to be moved to the params section if he ever releases an update.) Did you modify the javascript files in any way? When you run the page through Firebug does it spit out any errors? Do you have an example page online which replicates the error?

Posted by Codebird, 12-07-2007, 09:46 AM
man I have a simple folder that I can send u can just change as you like in the default.css and Whatever you can change the href of the "a" tag to take open what you want... well tell me where can I send you the folder it'll be very easy for u to understand it

Posted by Codebird, 12-07-2007, 01:21 PM
http://www.hitchou.com/ check it out there I put it for you

Posted by netfreak, 12-07-2007, 10:19 PM
Here is the doctype: hichamm2975: I tried doing it matching the code on your page but I'm still seeing it open just in the same window without a popup. I'll try tinkering around a bit more I guess.

Posted by netfreak, 12-07-2007, 10:35 PM
Tried with and without STRICT. The only modification to the JS/CSS files was including the proper path for the images. No other errors at all, I click the link and the page just opens in the same window just as it would if it were a normal link. All my stuff is internal so maybe I'll try whipping up a quick demo page on an outside server to see if I have the same problem.

Posted by netfreak, 12-07-2007, 10:59 PM
OK I GOT IT WORKING The original zip file I downloaded from their site must have been missing the "effects.js" file or something... Just grabbed it off hichamm2975's site and the popup is now displayed. THANKS EVERYONE

Posted by Codebird, 12-08-2007, 07:24 AM
I just discovered the way to change the lightwindow postion

Posted by Codebird, 12-08-2007, 07:28 AM
try it out: http://www.hitchou.com

Posted by Renard Fin, 12-09-2007, 04:52 AM
Totally ugly under Opera, under firefox the close button is at the fartest right, under IE7 it's giving me "argument not valid" (line 1597, caracter 9).

Posted by Codebird, 12-09-2007, 05:50 AM
yes I fixed a bit for opera shortly I don't care a lot I was just putting a demo c u around



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
VolumeDrive Down (Views: 773)


Language: