Problem with lightbox-plugin [solved]

Creating and modifying plugins.
Post Reply
Linus
Regular
Posts: 66
Joined: Mon Mar 06, 2006 1:59 pm
Location: Mannheim
Contact:

Problem with lightbox-plugin [solved]

Post by Linus »

Hi there,
I´ve got weird problems with the lightbox-plugin. I finally get it working but when I scoll down (after loading the image) in my page the overlay-div (the one which is opaque) stops.
It´s not filling out the hole site. The div is always placed on top of the page and only fills the viewport. Scrolling down and the loading the image is curious too.
You can see it on my testsite (not ready yet) here: http://nimax.bu-web.de/index.php?/archi ... shots.html
Simply click on one of the screenshots..

Maybe someone had the same problem, too...
Greetings Andi
Last edited by Linus on Wed Mar 15, 2006 2:12 pm, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problem with lightbox-plugin

Post by garvinhicking »

Hi!

I think this is a general problem of the lightbox plugin and depending on the CSS the rest of your page uses. I am quite sure it'll have problems with floating and so on...

Did you look if there are updates to the lightbox javascript that we could commit to our lightbox plugin? Maybe your problem could be fixed by the JS...you may want to search the lightbox developers for asking them?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Linus
Regular
Posts: 66
Joined: Mon Mar 06, 2006 1:59 pm
Location: Mannheim
Contact:

Post by Linus »

Hi Garvin again :)
I will try another js-file maybe this will solve the problem. I thought about "wrong" css code too and tried to disable some code but this didn´t work either.
Maybe I should ask the developer of lightbox...
Thank you for your fast reply...
Greetings from Mannheim
Andi
Linus
Regular
Posts: 66
Joined: Mon Mar 06, 2006 1:59 pm
Location: Mannheim
Contact:

Post by Linus »

Allright after searching on the developers blog I finally found a solution...
Maybe the plugin should be updatet that way to work correct...
http://www.huddletogether.com/2006/01/0 ... omment-424
That´s exactly what I done...
Greetings Andi

BTW @Garvin: What do you think about my design? I know it tooks a bit to load... :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi Linus!

Thanks for that URL! Sadly I'm not good enough at JS to figure out if this would make any problems - was this patch accepted for the official lightbox JS sourcecode?

Your design is nifty and unique! Very cool show off your customizing skills! I wouldn't know it was a serendipity operating there. :-))

Well done,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Linus
Regular
Posts: 66
Joined: Mon Mar 06, 2006 1:59 pm
Location: Mannheim
Contact:

Post by Linus »

Hi Garvin,
yes this patch is included in the actual sourcecode of lightbox.
There are a few new addons too, like close-button,etc... but for the actual implementation of lightbox in serendipity this would solve the problem.
The latest source-code can be found here:
http://www.huddletogether.com/projects/ ... ightbox.js
Your design is nifty and unique! Very cool show off your customizing skills!

Thank you ;) Proud to hear that.
I wouldn't know it was a serendipity operating there
Autsch... forgot to include a serendipity banner.. will fix that of course :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Thanks for that URL! I just committed the latest version! :)

And have fun with your blog, you should announce it here in the showcasE!

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply