By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,480 Members | 1,808 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,480 IT Pros & Developers. It's quick & easy.

moving to the top of the page?

P: n/a
Hello,

I am using flotr to produce 7 bar charts after the rest of the page
has been removed by making the <divinvisible.

This works fine except that when the 7 charts are formed the page
scrolls down so that I am looking at charts 6 and 7 rather than 1 and
2 at the top of the page.

Is there a way to automatically move the to the top of the page?

Cheers

Geoff
Aug 2 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Geoff Cox wrote on 02 aug 2008 in comp.lang.javascript:
>
I am using flotr to produce 7 bar charts after the rest of the page
has been removed by making the <divinvisible.

This works fine except that when the 7 charts are formed the page
scrolls down so that I am looking at charts 6 and 7 rather than 1 and
2 at the top of the page.

Is there a way to automatically move the to the top of the page?
scrollTo()

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Aug 2 '08 #2

P: n/a
On 02 Aug 2008 19:52:54 GMT, "Evertjan."
<ex**************@interxnl.netwrote:
>Geoff Cox wrote on 02 aug 2008 in comp.lang.javascript:
>>
I am using flotr to produce 7 bar charts after the rest of the page
has been removed by making the <divinvisible.

This works fine except that when the 7 charts are formed the page
scrolls down so that I am looking at charts 6 and 7 rather than 1 and
2 at the top of the page.

Is there a way to automatically move the to the top of the page?

scrollTo()
Thanks Evertjan - just what the doctor ordered!

Cheers

Geoff
Aug 3 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.