views:

46

answers:

1

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>
+2  A: 

(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.

Andir
I think it might because I am testing it from SVN locally on IE 8.. If I publish the file, then it is fine.. It is just when I am locally testing it??? Thanks so much for the feedback!
eberswine
@eberswine: When you say you are testing it from SVN, what do you mean? I am not clear on how you could read files directly out of an SVN repository. Perhaps this is commonly done, but I am not familiar with this.
Jeff Fohl
That's odd... Are you using IIS and maybe it's not loading the local script? If you had Firebug or Chrome it would tell you if it can't load one of the plugins. IE8 may have this option as well, but I don't have IE to test with right now.
Andir
Sorry, I am just running it from SVN on my asp dev. server (local)
eberswine