我正在使用jQuery Cycle,但它自动设置div的宽度。jquery循环:重写宽度?
是循环的div有ID #slideshow,所以我目前不必修改CSS
#slideshow {
width: 100% !important;
}
有没有办法做到这一点使用jQuery循环选择,而不必使用!重要。
任何提示将不胜感激!
我正在使用jQuery Cycle,但它自动设置div的宽度。jquery循环:重写宽度?
是循环的div有ID #slideshow,所以我目前不必修改CSS
#slideshow {
width: 100% !important;
}
有没有办法做到这一点使用jQuery循环选择,而不必使用!重要。
任何提示将不胜感激!
width: "100%" // container width (if the 'fit' option is true, the slides will be set to this width as well)
我从来没有使用的插件,但快速搜索落在我的[jQuery的周期插件选项(http://jquery.malsup.com/cycle/options.html)页面,其中包含宽度和适合度等内容。你使用什么选项与插件? – MrOBrian 2012-07-20 16:39:43