PDA

View Full Version : LightWindow problems...


elek
04-29-2007, 01:48 PM
Hi again..

New day, new problem ;)

I want to integrate LightWindow (http://stickmanlabs.com/lightwindow/) on my site:

http://kaptivating.com/blog/

so far so good -

I have a div tag inside my template which is beeing hidden by the lightwindow script when the page loads....

My problem is that when you click "previous" picture or choose one of the photos from the browse menu, it just changes to "http://kaptivating.com/blog/index.php?showimage=1", but the lightwindow script doesn't run again, and therefore my div tag isn't beeing hidden by the script anymore...

Hope you understand the problem I'm trying to describe...

Thx for any suggestions and help in general..


Btw:
Is it possible to make a template designed only to display the image information in a popup window - so i could work around the problem and link to a new page and force the script to reload somehow?

jaywilliams
04-29-2007, 03:05 PM
Actually, the the popup would probably be the easiest.

Create a file called comment_template.html in your templates directory, if there isn't one already, and add the template tags for the description in there.

You could access that page by using a URL like this:
index.php?popup=comment&showimage=16

elek
04-29-2007, 09:51 PM
Thx...

Now when i clik on the image a box pop's up with the image information -

Why does it stop working when index.php changes to index.php?showimage=1 ??!

The script only works for the image on the first page, with the index.php url untouched...

jaywilliams
04-30-2007, 12:29 AM
I've done a little testing, and from what I can tell, the LightWindow script has some serious issues.

I would recommend you try some alternative scripts, such as GreyBox.
As can be seen on the comments link @ http://photoblog.xlv.nu/

stickmanlabs
05-14-2007, 04:56 PM
The latest version of lightwindow fixes most of the issues people are having, however 2 still remain.


People don't RTFM....
The media people are trying to embed it poorly built and formatter.

In response to elek

It sounds liek you are trying to mix media types? Do you have a demo page? You may have to run the actions filter on reload of the window if you are switching types and this will solve your problem :)

Kevin