Thank you Kevin! The reason I had it outside the other ready block is so I can keep the code seperate, if I ever needed to strip out a part.
As soon as I got rid of the code as in your post, it works great! everytime it displays, the scrollbar appears correctly. As a sidenote, the actual jQuery examples should be updated to reflect this too... http://www.learningjquery.com/2007/09/animated-scrolling-with-jquery-12 On Oct 5, 4:29 am, Kelvin Luck <[EMAIL PROTECTED]> wrote: > Hi, > > Glad you like jScrollPane. I can only take a very quick look at this at > the moment but I'm wondering if it's something to do with this bit of > your JS: > > window.onload = function(){ > $("tr:nth-child(even)").addClass("even"); > > }; > > I think I remember having issues where using this "old school" syntax > for assigning onload handlers caused jQuery to bomb in IE. Try replacing > it with: > > $(function() { > $("tr:nth-child(even)").addClass("even"); > > }); > > Or even move the striping code up into the ready block you already have... > > Hope that helps, > > Kelvin :) > > Brett wrote: > > Hey all, LOVING jScrollpane at the moment, here is a page I'm working > > on. > > >http://cressaid.brettjamesonline.com/bvci/plastek/products1.html > > > The right area with the grey box is a scrollpane which will have a > > bunch of different things in it. If you view it in firefox, you'll see > > that the grey scroll bar comes up, works great :) > > > However, on Internet explorer 6, the jScrollpane does not load... I > > get an error about an exception being not handled. > > But, the really, really hard to diagnose part? if I reload the page, > > or occasionaly when I view it, the page will load, jScrollbars > > functioning! > > > Ther are other scrollers under neath too, which I was using to get it > > at least appear with a default scrollbar. That works, Now I was just > > wondering what kind of problem would cause this. Is there some kind of > > loading order I should respect or do differently? > > > The javascript code itself at the moment is nothing special - its just > > an adapted example code: > >http://cressaid.brettjamesonline.com/bvci/css/scrollpane/scrollpanese...