我不能让jQuery与IE7一起工作.我正在使用jQuery Cycle插件,但我相信这个问题与jQuery有关(事实上我是一个新手).我正在尝试使用横幅旋转器,它适用于Firefox,Safari和IE8.在IE7上,它甚至没有激活......它只是一个接一个地显示每个div.
先感谢您!
示例 http://testing.observerpapers.com/lv
JS
$(document).ready(function() {
$('#myslides')
.before('<div id="nav">')
.cycle({
fx: 'fade', // choose your transition type
speedIn: 600,
speedOut: 600,
timeout: 8000,
pause: 0, // so that pauses when user hovers over a slide
pager: '#nav', // instructs the plugin to create navigation elements
}); // every child element of the container becomes a slide
/*ddsmoothmenu.init({
mainmenuid: "smoothmenu1", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to …Run Code Online (Sandbox Code Playgroud) jquery ×1