469,292 Members | 1,500 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,292 developers. It's quick & easy.

How do I get the value of the scrollbar?

joe
How do I get the value of the scrollbar when my window is scrolled vertical or
horizontal -wise?

What if the user has Javascript disabled is there a generic solution?
Nov 9 '06 #1
4 1486

joe wrote:
How do I get the value of the scrollbar when my window is scrolled vertical or
horizontal -wise?

What if the user has Javascript disabled is there a generic solution?
If javascript enabled: document.body.scrollLeft and
document.body.scrollLeft
I doubt whether it has solution if javascript is disabled.

Nov 9 '06 #2
Lee
joe said:
>What if the user has Javascript disabled is there a generic solution?
Think that through. What are you planning to do with the value if
you can get it, if Javascript is disabled?
--

Nov 9 '06 #3
joe
Lee <RE**************@cox.netwrote:
>joe said:
>>What if the user has Javascript disabled is there a generic solution?

Think that through. What are you planning to do with the value if
you can get it, if Javascript is disabled?
If Javascipt is disabled is there an HTML or Perl workaround?
Nov 9 '06 #4
Lee
joe said:
>
Lee <RE**************@cox.netwrote:
>>joe said:
>>>What if the user has Javascript disabled is there a generic solution?

Think that through. What are you planning to do with the value if
you can get it, if Javascript is disabled?

If Javascipt is disabled is there an HTML or Perl workaround?
HTML is not a programming language.
Perl doesn't normally execute on the client-side. Particularly
not if they've disabled Javascript.
There might be a way to do what you want with CSS (if that's not
disabled, too), but that would depend on what it is that you want
to do.
--

Nov 9 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Doug Carter | last post: by
4 posts views Thread by Price Brattin | last post: by
2 posts views Thread by Ahmad Jalil Qarshi | last post: by
reply views Thread by d.steininger | last post: by
reply views Thread by =?Utf-8?B?R2lkaQ==?= | last post: by
1 post views Thread by Victor Hadianto | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.