jQuery.scrollLeft, prototype and IE8..

jQuery.scrollLeft, prototype and IE8..

Hi all..

I really don't know if this a bug or not.. so I posted here first...

The problem is the following, if I have jQuery and prototype on a page, and if I'm using the function scrollLeft, and open the page on IE8, the scrollLeft function doesn't work..

Steps to reproduce:
1 - Create an html page.  ( Valid page, and XHTML 1.0 Transitional )
2 - include jQuery: <script type="text/javascript" language="javascript" src="/library/jquery-1.4.1.min.js"></script>
3 - Include prototype: <script type="text/javascript" language="javascript" src="/library/prototype.js"></script> ( in my case is version 1.6.1, last version available )
4 - Add the following html to the recently created page:

  1. <div style="width:600px; overflow:auto; height:100px; " onclick="jQuery(this).scrollLeft(100);">
  2.                 <div style="width:800px; ">Testing</div>
  3.             </div>
If you open this in FF, or IE7, everything is good, the div jumps to the 100px when we click the main div, in IE8, it doesn't do nothing, it simply sits there, no error throw, nothing.. IE is in IE8 Standards..

I don't get it..and can't tell if this is a bug in jQuery, on prototype, or if I'm missing something...

What do you think?

Bye all and thanks..