Hi,
im having problem with Zen light box.
After loading once i click on the picture the next page appear blank.
Once i off zen light the picture reppear.
Using 1.3.9e
Thank you
Printable View
Hi,
im having problem with Zen light box.
After loading once i click on the picture the next page appear blank.
Once i off zen light the picture reppear.
Using 1.3.9e
Thank you
I have installed lightbox and everything is working well, thank you for making such an easy to use piece of software. However, I don't know how to make multiple images show up for the same product, can you help?
this article in FAQ section explains it pretty well. You have to edit a different file.
https://www.zen-cart.com/tutorials/index.php?article=58
I too am having the same error. Look at this product.running 1.3.9e as well. It looks as if the opening comment tag is cut off. What page has this in it?
Okay, I forgot to quote the original.
I am getting this at the very top of the product pages:
Code:Slimbox.scanPage = function() { $$(document.links).filter(function(el) { return el.rel && el.rel.test(/^lightbox/i); }).slimbox({]}, null, function(el) { return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel)); }); }; window.addEvent("domready", Slimbox.scanPage); //-->
I get this error under my products
"Slimbox.scanPage = function() { $$(document.links).filter(function(el) { return el.rel && el.rel.test(/^lightbox/i); }).slimbox({]}, null, function(el) { return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel)); }); }; window.addEvent("domready", Slimbox.scanPage); //-->"
and figured out that my other javascript files does not work with theese ones so when i removed them it worked except the error message that i get.
I have to change in my old javascript files and see
Can someone help me with my javascript files it's 2 files that does'nt work with lightbox
I thought I was having an issue with Zen Lightbox, but it appears as though this issue may be related to Google Chrome and I was wondering if anyone else has had this issue or if there is a known solution.
The Issue:
When clicking on an image to show the lightbox image, a white box comes up but no image or links become visible. This only happens in Google Chrome.
The Testing:
Two different systems tested: 1 x Windows 7 Ultimate x64, 1 x Windows XP Pro x32
Two websites tested:
http://flowerswithstyle.com.au
http://www.scrapdillyishious.com/shop/
The following browsers have been tested:
- Google Chrome v7.0.503.0)
- Firefox v4.0b4
- Internet Explorer v8.0.7600.16385
- Opera v10.61
- Safari v5.0.1 (7533.17.8)
- K-Meleon v1.5.4
- SeaMonkey v2.0.6
- Avant v2010 build 111
- Maxthon v3.0.17.1000
Every browser tested display the lightbox without issue apart from Google Chrome.
I at first thought that maybe it was to do with a jscript/code conflict on the site I was working on, but then I tested another site with lightbox and experienced the same issue.
This being said I had till now only tested sites proclaiming to use Zen Lightbox.
I navigated to the following page to test lightbox outside of the Zen Lightbox mod and was suprised to find that the lightbox displayed in Google Chrome without issue:
http://www.huddletogether.com/projects/lightbox2/
So, it now appears as though the issue is related to Google Chrome and Zen Lightbox.
Further Testing:
I decided I would try a different version of Google Chrome as the version I was using was the latest Beta version. I uninstalled this (on my XP machine) and installed the latest release (Google Chrome v5.0.375.127). Low and behold, lightbox now works!
Where To From Here:
The above testing and the fact that Zen Lightbox is not working with Google Chrome v7.0.503.0 but Lightbox does work outside of the Zen Lightbox mod suggests that Zen Lightbox may need to be looked at as far as compatibility with the upcoming releases of Google Chrome, however, as the version that is not working is a BETA version there may be no support for this as yet.
It would however be interesting to see if this issue is replicated by others and if there is a solution available that someone may have found.
Happy Zenning!
Hi All,
I have been using this mod, with ih2 happily for ages and they are all up to date.
I have just tried to integrate the 'attribute replaces main image' addon and am trying to get zencart to work in the same way it does with additional images.
I think the file i need to alter is below where i have tried to copy the code from tpl_modules_main_product_image.php. I think my problem is with the java script. If i dont include the documment.write script part it returns the larger image fine. If i add as below (and in tpl_modules_main_product_image.php) The image is not there (or the ability to clisk it obviously)
Code in file
Code:...
<?php
echo '<script language="javascript" type="text/javascript"><!--
document.write(\'<a href="' . zen_lightbox('images/'.$attributes_image, $alt, LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" >' . $image . '<br /><span class="imgLink">' . zen_image('images/bigger_picture.jpg', 'larger image', '140', '44') . '</span></a>\')//--></script>';
?>
...
HTML result
But no actual code to make it happenHTML Code:<script language="javascript" type="text/javascript"><!--
document.write('<a href="images/attributes/PMXA-67RS.png" rel="lightbox[gallery]" ><img src="bmz_cache/4/4f1f33407f5f2208814e35797be58f8f.image.145x200.png" alt="" width="145" height="200" /><br /><span class="imgLink"><img src="images/bigger_picture.jpg" alt="larger image" title=" larger image " width="100" height="100" /></span></a>')//--></script>
Any help is appreciated :blush:
Just finished installing this on v1.3.9e and works perfectly! Thanks for a great addon!