AlreadyM / jscrollpane

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

Error currentoffset is null when used in page with MathML doctype #207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. When the same script is used with doctype XHTML Strict everything is working 
as expected.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

2. When we change the doctype to:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
"http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">

the following error appears: currentoffset is null

What version of the jScrollPane are you using? On what browser? And operating 
system?

jScrollPane.js 90 2010-01-25 / Firefox 3.6.6

Original issue reported on code.google.com by omada.te...@gmail.com on 8 Jul 2010 at 1:26

GoogleCodeExporter commented 9 years ago
I have just announced the beta of a completely rewritten version of jScrollPane:

http://groups.google.com/group/jscrollpane/browse_thread/thread/c1bc1bf63e3f80d8

Please test and reply on the list if you are still having this issue,

Thanks,

Kelvin

Original comment by kelvin.l...@gmail.com on 17 Aug 2010 at 4:21

GoogleCodeExporter commented 9 years ago
I got the currentoffset is null error in jscrollpane and was able to fix it. 
For me the issue was just incompatibility with the newest version of jQuery. At 
this time (2011/07/28) jQuery 1.6.1 will throw this error for the latest 
version of jScrollPane, reverting to jQuery 1.5.2 worked.

Original comment by mikey...@gmail.com on 28 Jul 2011 at 4:22

GoogleCodeExporter commented 9 years ago
Is that problem with the latest version of jScrollPane?

http://jscrollpane.kelvinluck.com/

If it is then please enter a support ticket on github or via the support 
methods shown on the homepage (google code is no longer used and jScrollPane 
1.x is no longer supported)

Original comment by kelvin.l...@gmail.com on 28 Jul 2011 at 4:54

GoogleCodeExporter commented 9 years ago
It was fixed in new version.

For old jscrollpane (< 2 version) just fix className in js-file, because code:

var $container = $('<div></div>').attr({'className' : 'jScrollPaneContainer'});

won't work in jQuery anymore.

So solution: replace className to class.

Original comment by plo...@gmail.com on 18 Jun 2012 at 10:14

GoogleCodeExporter commented 9 years ago
Thanks for the updated jQuery fix! It was driving me bonkers. ;)

Original comment by ja...@creationagents.com on 19 Sep 2012 at 12:33