Page 1 of 1
Graybox question
Posted: Mon Jan 07, 2008 7:01 pm
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
Posted: Mon Jan 07, 2008 7:05 pm
by holysjit
I just reloaded the page and it works now. Suggestions? I looks it's unstable!
Thanks
Posted: Tue Jan 08, 2008 6:04 pm
by holysjit
When you look at the extended page, it doensn't work. I think Javascript is only supported at the frontpage...?
Posted: Fri Jan 11, 2008 3:29 pm
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
Posted: Mon Jan 14, 2008 6:31 pm
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.
Posted: Wed Jan 16, 2008 2:58 pm
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.