Graybox question

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

Graybox question

Post by holysjit »

hi, I use this code on my blog:

Code: Select all

<a href="image.jpg" class="graybox"><img src="image.jpg" width="170"></a>

<a href="image2.jpg" class="graybox"><img src="image2.jpg" width="170"></a>

The first image opens in the lightbox window, but the second just opens.

Watch it here:
http://www.thejokersweblog.nl/#cartoons

How to solve?
Thanks
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

Post by holysjit »

I just reloaded the page and it works now. Suggestions? I looks it's unstable!

Thanks
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

Post by holysjit »

When you look at the extended page, it doensn't work. I think Javascript is only supported at the frontpage...?
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

Post by holysjit »

The image won't popup again today. I use this code:

Code: Select all


<a name="cartoons"><a href="http://www.nozzman.nl/images/edities/514.gif" class="graybox"><img src="http://www.nozzman.nl/images/edities/514.gif" width="170"></a>

<a href="http://img299.imageshack.us/my.php?image=0111ci6.gif" class="graybox"><img src="http://www.lectrr.be/day/0111.gif" width="170"></a>
The first image appears, doesn't open in the lightbox. The second image appears for 2 seconds, then disappears and also doesn't open in the lightbox. What did I do wrong?

Thanks
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Heck, I can't get Greybox or Thickbox to work on my site. I'm using the plugin, and I assume you are too.

At least Lightbox Plus does a reasonably good job.

Sorry I'm no help, but at least you're not the only one.
Judebert
---
Website | Wishlist | PayPal
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

For the JavaScript not rendered into your page: Please switch off the JavaScript Optimization in the Plugins configuration. If you don't have this option, please update your plugin.

This option HAS to be switched off, if your blog is cashing the entries, and normally it is switched off by default.

Cashing in global is a problem for dynamic plugins like the Lightbox plugin. The code for entries is only created once. So if you change the type of the script used to produce the effect, the script is changed but the entry still has old informations. So your choices here are to switch off the entry cashing (plugin extended article attributes) or recash all entries after changing the script style.

On my site Lightbox 1 and Graybox is not working, too, and never did. I think, there was an error in the plugin before, that I was not interested to fix yet, because the ThickBox script was the most convenience type for me, looking the best and supporting the best close mechanisms.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Post Reply