JavaScript error, "object doesn't support this property or method"?
Why? This is driving me nuts???
<script type="text/javascript">
$(document).ready(function () {
$('#slides1').开发者_如何转开发bxSlider({
prev_image: '/Public/Images/btn-arrow-left.jpg',
next_image: '/Public/Images/btn-arrow-right.jpg',
wrapper_class: 'slides1_wrap',
margin: 0,
auto: true,
auto_controls: false
});
});
</script>
(posting as answer so I can format/etc.)
I put your code (slightly modified) into jsFiddle and it's working with no errors...
http://jsfiddle.net/mDs4t/
As long as you have the list setup right and you are including jQuery and bxSlider plugin at the top of the page there should be no problems. As stated in my previous comment, the code posted here seems to be bug free.
精彩评论