AlreadyM / jscrollpane

Automatically exported from code.google.com/p/jscrollpane
0 stars 0 forks source link

No scrolling with jScrollPane + ajax served from IIS #197

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copy the Ajax example and install it on Microsoft IIS 6.0 server.
I tried to make it exactly the same as the example
2.
3.

What is the expected output? What do you see instead?
Expect to see the greeking text scrolling by clicking the track, dragging
the thumb button or rolling the mousewheel, instead behavior is as if it
were a static div

What version of the jScrollPane are you using? On what browser? And
operating system?
jScrollPane v 1.2.1
jQuery v 1.4.2.min
Firefox 3.6.3

Please provide a URL to a page displaying the problem.
This link is identical to the Ajax example:
http://www.luxuryres.com/BookingEngines/V12/tests/jScrollPane.html

This link is nearly identical to the Ajax example but points to files such
as jScrollPane and jMousewheel that I had downloaded earlier:
http://www.luxuryres.com/BookingEngines/V12/tests/jScrollPane.asp

Please provide any additional information below.

I appreciate the work you have done and the ongoing effort you are putting
into this.  It's a nice feature and helps keep the net interesting.  Thanks!

Marlin

Original issue reported on code.google.com by marlin.m...@gmail.com on 24 May 2010 at 8:51

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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