I have installed zen lightbox 1.6.2 on 139h localhost without problem except for the layout of the lightbox.
As it stands, the issue is:
the Next and Prev buttons are located at the top of the lightbox but partly overlay/obscure the image;
multi-worded image titles and the "image x of y" both wrap without extending across the full width of the image, especially with relatively narrow images;
the Close X button is located immediately below right of the image and seems to be the cause of the wrap.
The prefered layout, from top to bottom, is:
image
image title
"image x of y"
Next, Prev, Close X.
where
multi-worded image titles and "image x of y" both extend across the full width of the image before wrapping;
the Next and Prev and Close X buttons all lie on one line at the bottom of the lightbox.
After spending many hours trying to achieve this layout, mostly toying with the css, I would appreciate some help, if not a solution.
Thanks in advance.
ignore this post
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
I'm seeing this in the source code on the success page after submitting a review.
It is in the link to the larger image, or the zen_lightbox and to the left of the image but part of the whole link.
It is obviously written wrong, (see code after blank line space below) but where would I edit this and should I? All my files match the stock files, according to winmergeCode:[product_number]">
Code:<script language="javascript" type="text/javascript"><!-- document.write('<a href="images/large/STS-CKC001_LRG.jpg" rel="lightbox-g" title="Deluxe Cart<br /><span class=\"smallText\">[STS-CKC001] </span>"> <img src="images/medium/STS-CKC001_MED.jpg" alt="Deluxe Cart [STS-CKC001]" title=" Deluxe Cart [STS-CKC001] " width="240" height="240" /><br /><span class="imgLink">larger image</span></a>'); //--></script>
I'm sorry...i dont' mean that it is obviously written wrong...but the "> looks out of place to me.
i took zen lightbox off a test sight and the problem went away.
the only changes I did to the lightbox were to remove two letters from a bracket of code, can't recall why from a post here, from slimbox.phpCode:;w([I,d,g,G]).hide()}function
OK...just re downloaded new files and re installed everything and it is still happening:
here is a screen shot.
Hi Athena,
Willy12 mentioned this same problem just a few days ago. looking at the forum after he mentioned it, its been a problem since the beginning.
the solution I came up with is found here:
http://www.zen-cart.com/forum/showpo...postcount=2630
daniel
thank you so much...i just implemented your post while you were posting and it WORKS!
hours and hours....i don't mean to sound ungrateful but that is a lot of time on some known error. installing this mod and un installing it on two sites all day...what a wast of time....
just did not know what to search for...tried different things with snippets of the code...and I'm reading through so many mod threads it is hard to keep track of what i know or don't know....
thanks again...
I do stand in awe that any of you take these mod designs on.....i've been at zencart for many years and have learned a lot...but still have to be on my guard about versions of pages used to make them vs my current version etc....lots to consider for a novice coder.
Glad it worked for you. I'm not the originator of the ZLB, I just took on updating it when it fell apart for the chrome updates. So old problems like this I'm just taking them on as they come up. No way I can (or have time) to comb thru this whole forum looking for other problems to try and fix.
daniel
Besides which, it's not a problem for everyone. I don't know what the common denominator is for those who share the issue, but it's not a problem on my site. Be that as it may, I tried the fix just to be on the safe side, and it removed the product name from my lightbox image. Since I prefer to have the product name intact and am not experiencing the issue to begin with, I simply put the code back in.
@Athena: It would be hard to fix an issue in a mod that isn't a global issue. As for it being a "known issue"...it's only known insofar as it is known only to the one guy who had the problem (vs. a global issue that affects all). Had you taken the time to read through the entire thread, or searched the thread for [product_number][FONT=monospace] [/FONT]to see if the issue already existed, you could have saved yourself hours and hours of wasted time. Taking ownership of our own mistakes helps us learn from them more so than does placing ownership on another's doorstep :)
Last edited by ScriptJunkie; 11 Apr 2011 at 11:05 PM.
Bookmarks