AlreadyM / jscrollpane

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

IE jscrollpane does not scroll #225

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Scrollpane works fine on all browsers on both Windows and OSX but loses 
functionality in Internet Explorer.

Looked at your comments but no trailing comma and I'm not quite sure what you 
mean that you shouldn't declare the scrollpanecontainer in your markup.

I need to declare the container and childs in my HTML markup otherwise CSS does 
not know what to style and where. The current HTML markup works fine with all 
browsers but IE.

Please find attached the source code.

Link to the site: www.debasiliek.nl

Thanks in advance, I'm kinda lost here!!

Rene

Original issue reported on code.google.com by ramelin...@gmail.com on 17 Sep 2010 at 11:55

Attachments:

GoogleCodeExporter commented 9 years ago
The problem is because you have the jScrollPaneContainer in your markup. View 
source on the example pages and you will see that there is no 
jScrollPaneContainer in there - it is added by javascript automatically.

Also, there is a new version of jScrollPane which you should check out. I need 
to fix a couple of small bugs with it and then it is going to replace the 
existing version:

http://jscrollpane.kelvinluck.com/

Original comment by kelvin.l...@gmail.com on 17 Sep 2010 at 4:38

GoogleCodeExporter commented 9 years ago
so you're saying lose the scrollpanecontainer in both HTML and CSS and your 
script will add the functionality to the containing parent div I am providing 
and your script will automatically generate the scrollpanecontainer according 
to my parent div and CSS?

I do need to declare the childs don't I (dragtop, dragbottom etc.). 

For as far as you could see there was nothing wrong with my function call in 
the source code, was there?

So I need to call the function on the div's I want to have scroll 
functionality, style them with my own CSS, use the element names as provided by 
your script and it should work fine.

And should I worry about absolute and relative positioning of the parent div?

I'm not a javascript wizz but willing to learn!!

Thx, Rene

Original comment by ramelin...@gmail.com on 18 Sep 2010 at 12:05

GoogleCodeExporter commented 9 years ago
Loose it in the HTML. And don't declare the children either. Just view the 
source of one of my example pages and you will see (use the actual view source 
function and not firebug as firebug shows the generated code, not the original 
code).

I would recommend using the new version of jScrollPane from the link I gave 
above as well - it is more flexible and robust.

Original comment by kelvin.l...@gmail.com on 18 Sep 2010 at 1:11