文章关键字 ‘zenlightbox’

解决zenlightbox在chrome无法问题

2010年11月24日,星期三

目前似乎还没看到中文翻译的解决办法。
希望能帮到大家。

讨论:

开始DAVE以为是NO-DOM功能浏览器问题

“I guess after Chrome 4 it stop working… until Chrome is fixed, you could add AppleWebKit to the list checking for non-DOM ready browsers.”

in… includes\classes\zen_lightbox\autoload_default.php”

后来发觉是Mootools版本问题,似乎也通过这个解决了。

“I was wrong about Chrome… its Mootools that needs to be upgraded to version 1.3 in zen lightbox…. Chrome wont work with anything lower then 1.3 of Mootools….

http://www.zen-cart.com/forum/showthread.php?t=45314&highlight=Chrome&page=214”

解决:
最终我使用了另一个回帖的方法:
aozhaver的回帖
不用去动js
不过本人因为看了之前的帖,已经动过了,但目前似乎没问题
(/includes/templates/Your_Template/jscript/的Mootools已经是1.3 com)

下载文件,更新方法见下文。
替换新文件操作 slimbox.php
目录:…/includes/classes/zen_lightbox
With the new slimbox.php

替换新文件操作 stylesheet_zen_lightbox.css in your
…/includes/templates/YOUR_TEMPLATE/css

复制文件 GIFS (photo) 到以下目录
…/includes/templates/YOUR_TEMPLATE/images

下载:ZEN_LIGHTBOX_FIX

原文:


“Originally Posted by aozhaver View Post
OK, God forbid anyone should post here a PROPER solution to help others with the new chrome issue so after fiddling for 2 days I bring you here the proper working fully tested solution *no fiddling required*.

Get this file Attachment 8349

Upload to the following locations and replace existing files:

Replace slimbox.php in your
…/includes/classes/zen_lightbox
With the new slimbox.php file included in my ZIP

Replace stylesheet_zen_lightbox.css in your
…/includes/templates/YOUR_TEMPLATE/css
with the new stylesheet_zen_lightbox.css file included in my ZIP

copy the GIFS (photo) files to your
…/includes/templates/YOUR_TEMPLATE/images

THATS IT!!!

DONT TOUCH your JScript folder files!! – leave that for the wisecracks…

The only reason that this thread isnt FLOODED with people having this problem is simply because most haven’t updated their chrome version.

Even I by total chance had to uninstall chrome and reinstall a new version to resolve unrelated issues and then my woes started with lightbox.

GOOD LUCK!! ”

出处
http://www.zen-cart.com/forum/showthread.php?p=961153