我正在尝试marquee不断滚动图像并添加外部链接,它必须使用thickbox机制弹出。我正面临jquery阶级冲突问题。请为此提供解决方案。
在thickboxJavaScript 中,以
$(document).ready(function(){
tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox
imgLoader = new Image();// preload image
imgLoader.src = tb_pathToImage;
});
在选取框 JavaScript 中,以
(function ($) {
$.fn.marquee = function (class) {
var newMarquee = [],
....
}
});
我该怎么做才能解决冲突问题thickbox?