i need to refresh to see jscrollpane

30 views
Skip to first unread message

Titti

unread,
Jul 22, 2009, 3:41:17 AM7/22/09
to jscrollpane
Hi, i'm using jscrollpane into my local website, created with cmsms.
It works fine, but to see it in action, i need to refresh. This
problem will be solved when i'll get my website online? thank you

paul

Kelvin Luck

unread,
Jul 23, 2009, 8:49:07 AM7/23/09
to jscro...@googlegroups.com
Hi Paul,

I'm afraid that isn't enough information for me to be able to help. There
should be no need to refresh a page to see the jScrollPane so I'm not sure
why you are having this problem. When you get your website online you can
send us a link and we can try to help you debug but I'm afraid I can't do
anything without more information,

Cheers,

Kelvin :)

Titti

unread,
Jul 24, 2009, 3:22:22 AM7/24/09
to jscrollpane
Hi Kelvin, thank you for your support. When the website will be
online, i'll send you the right link.
Thank you again

Paul

On Jul 23, 2:49 pm, "Kelvin Luck" <kel...@kelvinluck.com> wrote:
> Hi Paul,
>
> I'm afraid that isn't enough information for me to be able to help. There  
> should be no need to refresh a page to see the jScrollPane so I'm not sure  
> why you are having this problem. When you get your website online you can  
> send us a link and we can try to help you debug but I'm afraid I can't do  
> anything without more information,
>
> Cheers,
>
> Kelvin :)
>

Titti

unread,
Sep 2, 2009, 8:32:07 AM9/2/09
to jscrollpane

Hi Kelvin,
here you can take a look about my problem:

http://www.fabbricasaccardo.it/spazi/index.php?page=planimetria-sezioni

go to "about->planimetry and sections"

thank you

paul
On Jul 23, 2:49 pm, "Kelvin Luck" <kel...@kelvinluck.com> wrote:
> Hi Paul,
>
> I'm afraid that isn't enough information for me to be able to help. There  
> should be no need to refresh a page to see the jScrollPane so I'm not sure  
> why you are having this problem. When you get your website online you can  
> send us a link and we can try to help you debug but I'm afraid I can't do  
> anything without more information,
>
> Cheers,
>
> Kelvin :)
>

Kelvin Luck

unread,
Sep 3, 2009, 5:38:44 AM9/3/09
to jscro...@googlegroups.com
Hi,

It's working great fine for me on Firefox 3.5. What browser are you using?

Cheers,

Kelvin :)

Titti

unread,
Sep 4, 2009, 3:34:39 AM9/4/09
to jscrollpane
I just used firefox and internet explorer. Try to clear cache and
reload the page. thank you for your support

Paul

On 3 Set, 11:38, "Kelvin Luck" <kel...@kelvinluck.com> wrote:
> Hi,
>
> It's working great fine for me on Firefox 3.5. What browser are you using?
>
> Cheers,
>
> Kelvin :)
>
> On Wed, 02 Sep 2009 13:32:07 +0100, Titti <prima...@gmail.com> wrote:
>
> > Hi Kelvin,
> > here you can take a look about my problem:
>
> >http://www.fabbricasaccardo.it/spazi/index.php?page=planimetria-sezioni
>
> > go to "about->planimetry and sections"
>
> > thank you
>
> > paul
> > On Jul 23, 2:49 pm, "Kelvin Luck" <kel...@kelvinluck.com> wrote:
> >> Hi Paul,
>
> >> I'm afraid that isn't enough information for me to be able to help.  
> >> There  
> >> should be noneedtorefresha page to see the jScrollPane so I'm not  
> >> sure  
> >> why you are having this problem. When you get your website online you  
> >> can  
> >> send us a link and we can try to help you debug but I'm afraid I can't  
> >> do  
> >> anything without more information,
>
> >> Cheers,
>
> >> Kelvin :)
>
> >> On Wed, 22 Jul 2009 08:41:17 +0100, Titti <prima...@gmail.com> wrote:
>
> >> > Hi, i'm using jscrollpane into my local website, created with cmsms.
> >> > It works fine, but to see it in action, ineedtorefresh. This

Edmund Kwok

unread,
Sep 4, 2009, 5:53:32 AM9/4/09
to jscrollpane
I also face this problem with the full body scroll, with defined
scrollbarWidth and scrollbarHeight. It works fine in Firefox 3.5 but
not IE 7. On first load, only the arrows of the scrollbar is shown,
the image of the track is completely missing though it still has the
necessary width and height.

From my limited debugging of the DOM, on first load, the
div.jScrollPaneContainer is wrapping the #wrapper which is wrapped by
another div.jScrollPaneContainer as follows:

<div class="jScrollPaneContainer">
<div class="jScrollPaneContainer">
<div id="wrapper"></div>
</div>
<div class="jScrollPaneTrack"></div>
<a class="jScrollArrowUp"></a>
<a class="jScrollArrowDo"></a>
</div>

On refresh, the extra .jScrollPaneContainer div is not there anymore,
and the scrollbar is rendered properly.

<div class="jScrollPaneContainer">
<div id="wrapper"></div>
<div class="jScrollPaneTrack"></div>
<a class="jScrollArrowUp"></a>
<a class="jScrollArrowDo"></a>
</div>

I tried checking for existing .jScrollPaneContainer ($
('.jScrollPaneContainer').size() == 0)) before calling $.jScrollPane()
but two .jScrollPaneContainer are still rendered.

Unfortunately, I can't show the page. Will see if I can setup a
similar page.

Thanks and regards,
Edmund
Message has been deleted

Titti

unread,
Sep 9, 2009, 7:50:44 AM9/9/09
to jscrollpane
Hi Edmund thank you for your post.
If u will solve the problem, please let me know. thanks

paolo

On 4 Set, 11:53, Edmund Kwok <edmund.k...@insyghtful.com> wrote:
> I also face this problem with the full body scroll, with defined
> scrollbarWidth and scrollbarHeight. It works fine in Firefox 3.5 but
> not IE 7. On first load, only the arrows of the scrollbar is shown,
> the image of the track is completely missing though it still has the
> necessary width and height.
>
> From my limited debugging of the DOM, on first load, the
> div.jScrollPaneContainer is wrapping the #wrapper which is wrapped by
> another div.jScrollPaneContainer as follows:
>
> <div class="jScrollPaneContainer">
>   <div class="jScrollPaneContainer">
>     <div id="wrapper"></div>
>   </div>
>   <div class="jScrollPaneTrack"></div>
>   <a class="jScrollArrowUp"></a>
>   <a class="jScrollArrowDo"></a>
> </div>
>
> Onrefresh, the extra .jScrollPaneContainer div is not there anymore,

Titti

unread,
Oct 22, 2009, 5:20:46 PM10/22/09
to jscrollpane
Any news?

Kelvin Luck

unread,
Oct 23, 2009, 11:32:06 AM10/23/09
to jscro...@googlegroups.com
Your div#content doesn't have a height and doesn't have overflow: auto. If
you visit the page with Javascript disabled you can see that it doesn't
display properly without jScrollPane so it won't display properly with it!

Cheers,

Kelvin :)

On Thu, 22 Oct 2009 22:20:46 +0100, Titti <prim...@gmail.com> wrote:

>
> Any news?
>
> >

pkiran

unread,
Oct 27, 2009, 1:29:26 AM10/27/09
to jscrollpane
Hi Kelvin,

I'm having a similar problem, but only with one specific page -
http://elasticventures.com/drupal/sign-up - the other pages on the
site requiring scroll work fine. As you may notice, I'm using the
Drupal module. When the page first loads, the scroll isn't deep
enough and cuts off part of the content. If it's reloaded or
navigated away from and returned to, the scroll depth is correct.

I tried adding overflow: auto and height to the CSS for the scroll-
pane div, but the problem persists. Any suggestions?

Thanks,
k

On Oct 23, 11:32 am, "Kelvin Luck" <kel...@kelvinluck.com> wrote:
> Your div#content doesn't have a height and doesn't have overflow: auto. If  
> you visit the page with Javascript disabled you can see that it doesn't  
> display properly without jScrollPane so it won't display properly with it!
>
> Cheers,
>
> Kelvin :)
>
> On Thu, 22 Oct 2009 22:20:46 +0100, Titti <prima...@gmail.com> wrote:
>
> > Any news?

Kelvin Luck

unread,
Oct 27, 2009, 11:16:37 AM10/27/09
to jscro...@googlegroups.com
Hi,

I'm getting a "Page not found" on that URL I'm afraid... Does your page
render correctly with JS disabled (or if you don't initialise jScrollPane)?

Cheers,

Kelvin :)

Kelvin Luck

unread,
Oct 28, 2009, 5:56:47 AM10/28/09
to jscro...@googlegroups.com
[posted on behalf of pkiran who is having trouble posting to the group]

Sorry, it worked last night but I was in the midst of a DNS/virtual
hosting change. you can use:

http://www.topfloorseminars.com/sign-up

instead. This page was created after jScrollPane implementation, but
it does render with JS disabled. The only issue when I do is that the
scrolling section's content exceeds it's block depth, so the block
backgrounds get separated (hence the need for your plug-in).

On Tue, 27 Oct 2009 15:16:37 -0000, Kelvin Luck <kel...@kelvinluck.com>
wrote:

SpirITzzz

unread,
Oct 28, 2009, 12:55:30 PM10/28/09
to jscrollpane
Hi, i have this problem too, http://www.true-studio.com/beta3/

On 28 окт, 11:56, "Kelvin Luck" <kel...@kelvinluck.com> wrote:
> [posted on behalf of pkiran who is having trouble posting to the group]
>
> Sorry, it worked last night but I was in the midst of a DNS/virtual
> hosting change.  you can use:
>
> http://www.topfloorseminars.com/sign-up
>
> instead.  This page was created after jScrollPane implementation, but
> it does render with JS disabled.  The only issue when I do is that the
> scrolling section's content exceeds it's block depth, so the block
> backgrounds get separated (hence the need for your plug-in).
>
> On Tue, 27 Oct 2009 15:16:37 -0000, Kelvin Luck <kel...@kelvinluck.com>  
> wrote:
>
>
>
> > Hi,
>
> > I'm getting a "Page not found" on that URL I'm afraid... Does your page
> > render correctly with JS disabled (or if you don't initialise  
> > jScrollPane)?
>
> > Cheers,
>
> > Kelvin :)
>
> > On Tue, 27 Oct 2009 05:29:26 -0000, pkiran <power...@gmail.com> wrote:
>
> >> Hi Kelvin,
>
> >> I'm having a similar problem, but only with one specific page -
> >>http://elasticventures.com/drupal/sign-up- the other pages on the

SpirITzzz

unread,
Oct 28, 2009, 1:44:17 PM10/28/09
to jscrollpane
when i use function
function Bar{
$('#scrollbar_d').jScrollPane({
showArrows:true,
scrollbarWidth: 16,
arrowSize: 15,
wheelSpeed: 50,
dragMinHeight: 220
});
}

and <body onload="Bar();"> - scroll bar displayed.
But when i use $(document).ready - scroll bar not displayed in first
page loading
http://www.true-studio.com/beta3/

SpirITzzz

unread,
Oct 28, 2009, 12:54:19 PM10/28/09
to jscrollpane
Hello, i have this problem too, http://www.true-studio.com/beta3/

Kelvin Luck

unread,
Oct 29, 2009, 6:17:58 AM10/29/09
to jscro...@googlegroups.com
Hmmm - strange. People have reported this problem before but only on
Safari and I am also seeing the problem in Firefox on your example...

One fix for Safari is to make sure that the CSS is included before the JS
but it seems like you already do this...

Actually - I think the problem is because of the images inside your
scrollpane. I think that on first load jScrollPane doesn't know how tall
they are and so it thinks that the scrollbar isn't necessary. Try passing
reinitialiseOnImageLoad: true into the settings object and see if that
helps,

Thanks,

Kelvin :)

SpirITzzz

unread,
Oct 29, 2009, 9:38:07 AM10/29/09
to jscrollpane
Yes, reinitialiseOnImageLoad: true - helped.
http://www.true-studio.com/beta4/

Kelvin Luck

unread,
Oct 29, 2009, 9:55:15 AM10/29/09
to jscro...@googlegroups.com
Awesome! Maybe that will solve it for you too pkiran?

pkiran

unread,
Nov 21, 2009, 10:22:42 PM11/21/09
to jscrollpane
Hi, not sure where to put the renitialiseOnImageLoad:true... what did
you mean by "settings object" - the block CSS for the scroll pane?

Kelvin Luck

unread,
Nov 23, 2009, 8:30:24 AM11/23/09
to jscro...@googlegroups.com
It is the object you pass into jScrollPane. e.g.

$('#scrollbar_d').jScrollPane({
showArrows:true,
scrollbarWidth: 16,
arrowSize: 15,
wheelSpeed: 50,
dragMinHeight: 220,
renitialiseOnImageLoad:true
});

Hope that helps,

Kelvin :)
> --
>
> You received this message because you are subscribed to the Google
> Groups "jscrollpane" group.
> To post to this group, send email to jscro...@googlegroups.com.
> To unsubscribe from this group, send email to
> jscrollpane...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/jscrollpane?hl=.
>
>

pkiran

unread,
Dec 15, 2009, 4:35:23 PM12/15/09
to jscrollpane
Hi, I tried this (in the jscrollpane.init.js file of the jScrollPane
Drupal module) but it still doesn't seem to be reinitialising without
a page reload.

On Nov 23, 8:30 am, "Kelvin Luck" <kel...@kelvinluck.com> wrote:
> It is the object you pass into jScrollPane. e.g.
>
> $('#scrollbar_d').jScrollPane({
>         showArrows:true,
>         scrollbarWidth: 16,
>         arrowSize: 15,
>         wheelSpeed: 50,
>         dragMinHeight: 220,
>         renitialiseOnImageLoad:true    
>
> });
>
> Hope that helps,
>
> Kelvin :)
>

Kelvin Luck

unread,
Dec 18, 2009, 6:41:52 AM12/18/09
to jscro...@googlegroups.com
Do you have a URL demonstrating the problem?

Cheers,

Kelvin :)

> http://groups.google.com/group/jscrollpane?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages