News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Revision 5183 - Issue with lightbox

Started by jjk, December 31, 2011, 18:12:32 PM

Previous topic - Next topic

jjk

J1.7.3/VM2 SVN revision 5183
Revision 5183 trunk/virtuemart/components/com_virtuemart/views/productdetails/tmpl/default.php appears to have killed my lightbox. The productdetails view loads normally at first, but when I hover over any image with the mouse pointer, the main image reverts to category browse size and the lightbox doesn't work at all.

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

jaminv

Open it up in Chrome and look at the developer information for the page.  If you go to the script tab, it will show any scripts which have errors in them.  That's probably the problem.  I ran into a similar problem, and chrome helped me locate the script error that was preventing all javascript from working.

jjk

#2
I use the Firefox plugin Firebug for this. This one looks to me more like the developer has accidentially cut out a little bit too much code  ;) (I can see the difference between the previous version of the file, which you probably have, and the one in the SVN trunk. The latter was just updated two days ago.
However, I can't correct errors myself because I'm still php illiterate  :'(
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

jjk

#3
J1.7.3/VM2 SVN revision 5215 - commit 5210
I still have an issue with the image behavior with the revised file ...\components\com_virtuemart\views\productdetails\tmpl\default.php.
When I hover with the mouse pointer over the second image's mini-thumb (the link for the lightbox displaying a large image), the primary image collapses and the thumbnail from the resized directory is loaded and stays at there instead of the product-image.

Firebug tells me this:

jQuery(.main-image img) special check failed
jquery.lint.js (line 99)
More info:
Selector: .main-image img Selectors should be as specific as possible, not overqualified and never "class only"
jquery.lint.js (line 119)
Collection: []

[attachment cleanup by admin]
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations