简体   繁体   English

关闭颜色框不适用于Chrome

[英]close colorbox doesn't work with chrome

I have a very big problem, I'm developping a site web and I'm using colorbox plugin . 我有一个很大的问题,我正在开发网站网站,并且正在使用colorbox plugin It's very nice, but I have a big problem with Google Chrome browser because : 很好,但是Google Chrome browser有一个大问题,因为:

parent.$.fn.colorbox.close() doesn't work in Google Chrome parent.$.fn.colorbox.close()在Google Chrome浏览器中不起作用

Please help me to find a solution to this issue ! 请帮助我找到解决此问题的方法!

I've used ColorBox extensively with Chrome on the following OS: Windows, Linux (Ubuntu), so I doubt the browser is the issue. 我已经在以下操作系统上广泛使用ColorBox和Chrome:Windows,Linux(Ubuntu),因此我怀疑浏览器是问题所在。

Are you developing locally or using a server web server? 您是在本地开发还是在使用服务器Web服务器? This is important because Chrome can be more strict about cross-site scripting enforcement. 这很重要,因为Chrome可以更严格地执行跨站点脚本。

Perhaps you can say more about what 'doesn't work' (like what are you seeing in the Chrome console applet?) or better yet, post a link to your project. 也许您可以说些什么“不起作用”(例如您在Chrome控制台小程序中看到的是什么),或者更好的话,将链接发布到您的项目中。

Regards, KJM 问候,KJM

This is a problem with chrome v.21 这是Chrome v.21的问题

http://productforums.google.com/forum/#!topic/chrome/EuOiRG4Bdf8 http://productforums.google.com/forum/#!topic/chrome/EuOiRG4Bdf8

A lot of colorbox features are bugged since the las chrome update. 自las chrome更新以来,许多颜色框功能都存在问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM