homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Disabling horizontal scrolling
...but not vertical

 9:46 am on Dec 5, 2000 (gmt 0)

Does anybody have any idea if this is possible, and if so how to do it? I would have thought that there was some sort of JavaScript trick out there, but I can't for the life of me find one.

Cross browser compatability is also required (just to make the task a little trickier).



 8:38 pm on Dec 5, 2000 (gmt 0)

You could achieve this effect with a 100% frameset, and disabled scrolling in the visible frame.

However, the page design would still be tricky -- there would be differing amounts of screen real estate available for display according to the visitor's screen resolution, whether the browser window was open full or not, etc.


 12:01 am on Dec 6, 2000 (gmt 0)

Oops! I mis-read your question -- nevermind. I'll look around and see what I can find. Apologies, my friend.

-- Here's what I discovered. The source is David Flanagan's "JavaScript, The Definitive Guide" from O'Reilly

1. Scrollbar visibility is a package deal in Javascript -- no separate address to vertical and horizontal scrolling

2. Access to the scrollbars object requires a signed script (and subsequent user permission in each case)

3. Even with a signed script, Explorer 4.x does not support access


 8:58 am on Dec 6, 2000 (gmt 0)

Just 2 thoughts...

1) Cheers tedster


2) Damn! It could have been sooo good...

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved