Skip to main content
added the javacript tag
Link
Sander Mangel
  • 37.5k
  • 5
  • 80
  • 148
Source Link

Why prototype.js causing jquery slider to not working in ie 9 and ie8?

In my product detail page i have integrated a slider for related products. It works well in all browser except ie 9 and ie 8, works in ie 10.

When i removed prototype.js from page.xml it works well in all browsers. Why this issue occuring any solution to this problem?

I am not getting any error in browser console.

The plugin i used is caroufredsel. In my related.phtml file used following code,

<script  src="<?php echo $this->getSkinUrl('js/jquery.carouFredSel-6.2.1.js');?>"></script>

<script type="text/javascript">
jQuery(document).ready(function() {
    jQuery('#block-related').carouFredSel({
    circular: false,
    infinite: false,
    auto    : false,
    prev    : {button: "#foo2_prev",key: "left"},
    next    : { button: "#foo2_next",key:"right"
        }
    });
});
</script>