Reply
Old March 1st, 2003 Top | #1
 
Ketchupisyourfriend's Avatar
OSNN Senior Addict
Joined: December 2002
Posts: 262
Reputation: 0
Power: 114

Default quick html question... scrolling="no"???

Ok I'm making an active desktop and I'm trying to get a sliding menu from the right side. It works fine on the left, but when I put it on the right it makes scroll bars which I don't want. The object is to have the menu mostly hidden to the right, then it slides on screen when you click it. Like I said it works fine if I hide it to the left, but on the right it wants to let me scroll over to see everything. I know if you're making frames you can put scrolling="no" but what about just for the body? Is there somewhere I can tell it not to scroll?
Ketchupisyourfriend is offline   Reply With Quote
Old March 2nd, 2003 Top | #2
 
Ketchupisyourfriend's Avatar
OSNN Senior Addict
Joined: December 2002
Posts: 262
Reputation: 0
Power: 114

Default

I managed to do it by doing:

<style>
body.noscroll {overflow:hidden}
</style>

<body class="noscroll">

it seems to work just fine, if anybody would like to reccomend a different way feel free
Ketchupisyourfriend is offline   Reply With Quote
Old March 5th, 2003 Top | #3
 
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,490
Reputation: 2808
Power: 217

Default

Originally posted by ketchup=friend
I managed to do it by doing:

<style>
body.noscroll {overflow:hidden}
</style>

<body class="noscroll">

it seems to work just fine, if anybody would like to reccomend a different way feel free
This is most probably the only way, you can play with the overflow:<*> setting a bit to make it the way you want.
X-Istence is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
quick help needed...win95 "talking" to xp apu95 Windows Desktop Systems 5 November 6th, 2004 7:53am
"Announcement" causes side scrolling. SPeedY_B Site Problems & Feedback 21 April 24th, 2004 9:11pm
HTML - Form data kept with "Back" button Swi Web Design & Coding 3 March 26th, 2004 5:15am
Removing the "More Button" for the quick launch icons BuddyLove Desktop Customisation 3 June 17th, 2002 8:12pm
Why does my "Smooth Scrolling" option reset on every restart? FJC Windows Desktop Systems 11 April 21st, 2002 8:31pm