jeffreyhi1 / jscrollpane

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

scrollpane stops working when page coded for French language #118

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
In the English language version of the website I use this to begin the document:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>...</title>
and the pages with your scroller work fine.

In a French-language version I use:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr" dir="ltr">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>...</title>
...
and the scroller doesn't work any more although the rest of the page is fine.

What is the expected output? What do you see instead?
I would like to see the French page display the same way as the English page, 
but the browser's 
default scrollers appear instead of your custom-scroller.

What version of the jScrollPane are you using? On what browser? And operating 
system?
I'm guessing the version is 1.2.3 (recently downloaded). This happens across 
platforms and 
browsers. The custom scroller just doesn't work with this (necessary) header.

Please provide a URL to a page displaying the problem.
http://www.arianedelacampagne.com/biography.html - custom scroller works here
http://www.arianedelacampagne.com/fr/biographie.html - browser default scroller 
appears here

Please provide any additional information below.

It doesn't bother me so much that it doesn't work with IE because their grey 
default scrollbar 
doesn't upset the color scheme  -- but having the Safari or Firefox blue 
scroller is unpleasant.
thanks if you can spot what's causing this. Great scroller!

Original issue reported on code.google.com by r...@hamiltrowebsitedesign.com on 22 Jul 2009 at 10:15

GoogleCodeExporter commented 9 years ago
On the french version the links to the js files are invalid. They are relative 
links
and the french version is inside a folder. I recommend installing Firebug inside
Firefox and that makes this sort of problem very easy to debug.

Hope that helps,

Kelvin :)

Original comment by kelvin.l...@gmail.com on 23 Jul 2009 at 12:17

GoogleCodeExporter commented 9 years ago
Oh, man...

I can't believe I missed this!

Thanks so much!

Original comment by r...@hamiltrowebsitedesign.com on 23 Jul 2009 at 4:26