在我的下面的代码中,左侧滑块内部和右侧鼠标滚轮在Chrome中工作,但在Firefox中不起作用。谁能看到发生了什么?
<script>
var bg_slider = jQuery('#slider').val();
var bg_va = jQuery('#nave_value').val();
var bg_d = parseInt(bg_va);
var button = jQuery('#btn_value').val();
var bg_c = parseInt(button);
var scall = jQuery('#bg_scall').val();
var bg_easy = parseInt(scall);
var space = jQuery('#spc_value').val();
jQuery(document).ready(function() {
var carousel = jQuery("#coverflow").flipster({
style: bg_slider,
nav: bg_d,
buttons: bg_c,
spacing: space,
scrollwheel:bg_easy,
});
});
var bg_a = jQuery('#bg_autoplay').val();
var iNum = parseInt(bg_a);
var bg_t = jQuery('#bg_show_title').val();
var title = parseInt(bg_t);
var bg_s = jQuery('#bg_show_navel').val();
var navel = parseInt(bg_s);
var bg_pl = jQuery('#bg_show_play').val();
var show = parseInt(bg_pl);
var html5lightbox_options = {
autoplay: iNum,
showtitle: title,
shownavigation: navel,
showplaybutton: show,
};
</script>
我使用Flipster jQuery插件v1.1.1