使用jquery.colorbox的时候第一次正常显示,但第二次的时候不显示。
需要先移除,再重新点击即可,代码如下
$.colorbox.remove();
$.colorbox({ href: url, iframe: true, width: options.width || 800, height: options.height || 600 });
使用jquery.colorbox的时候第一次正常显示,但第二次的时候不显示。
需要先移除,再重新点击即可,代码如下
$.colorbox.remove();
$.colorbox({ href: url, iframe: true, width: options.width || 800, height: options.height || 600 });