Closed GoogleCodeExporter closed 9 years ago
hmmm - that is very strange. Please try with a newer version of jScrollPane
(1.2.1 is
the latest release but it's actually quite old - you can find newer code in
subversion here or from my site:
http://www.kelvinluck.com/assets/jquery/jScrollPane/scripts/jScrollPane.js
I haven't tested with jScrollPane 1.2.1 and jQuery 1.4 - maybe that combination
is
causing the problems...
Original comment by kelvin.l...@gmail.com
on 24 May 2010 at 9:24
I found a great workaround for this! The problem I was experiencing was for a
page
hosted on IIS, any scrollbar that had it's content changed and reinitialized
would
stop scrolling.
(OK, I know it doesn't make sense about hosting the file on one server vs
another,
but this is the only difference I can see right now between what works and what
fails)
The workaround:
I took the jScrollPane.js file that resides here that contains the
jScrollPaneRemove() function:
http://www.kelvinluck.com/assets/jquery/jScrollPane/remove.html
and moved it to my development environment. Then prior to reinitializing any
existing scrollbar I issued $(#myscroll).jScrollPaneRemove(). Now in my
development
project all of my scrollbars are working even after repopulating with new
content!
Marlin
Original comment by marlin.m...@gmail.com
on 24 May 2010 at 9:56
The version of jScrollPane I'm using is the same one from your Ajax example.
The
version number is not stated so I'm not sure what it is exactly. And just to
be sure
I went back to the Ajax example and downloaded the jScrollPane.js file and
named it
jScrollPane-same-as-ajax-example.js and my Ajax example still doesn't work.
I'm also
calling jquery from Google just as you are.
Just to clarify the versions here:
Example ID jScrollPane.js Http Source
Remove example
http://www.kelvinluck.com/assets/jquery/jScrollPane/scripts/jScrollPane.js
Ajax example
http://www.kelvinluck.com/assets/jquery/jScrollPane/scripts/jScrollPane.js
So these are all one and the same and the same as you recommended above.
Original comment by marlin.m...@gmail.com
on 24 May 2010 at 10:15
Hmmmm... When I looked yesterday I'm sure you were using jScrollPane-1.2.3.js
which
is much older. The best way to see what version you have is to look in the
header and
see the bit which says something like:
$Id: jScrollPane.js 90 2010-01-25 03:52:10Z kelvin.luck $
The 90 about is the subversion revision number - bigger is newer. The latest is
always in the repository here on google code and is also always on all of my
examples
(they are a working copy of the repository).
Anyway - it sounds like it is working for you now so that's good!
Original comment by kelvin.l...@gmail.com
on 25 May 2010 at 8:16
Original issue reported on code.google.com by
marlin.m...@gmail.com
on 24 May 2010 at 8:51