Shoutbox

How do you disable scrolling? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: How do you disable scrolling? (/showthread.php?tid=45991)

How do you disable scrolling? by Supersonicdarky on 06-08-2005 at 09:13 PM

the title is self explanatory: HOW DO YOU DISABLE SROLLING?

i mean not disable the scroll bar but disable scrolling with the mouse wheel (even if the page is larget than the screen) :S


RE: How do you disable scrolling? by Dempsey on 06-08-2005 at 09:15 PM

AFAIK you cant, as its a client side thing, there may be some javascript to do it but I doubt it and even if there was the user could just disable javascript anyway


RE: How do you disable scrolling? by Zephyr on 06-08-2005 at 10:40 PM

I'm pretty sure this isn't possible; i've never heard of this being possible and i can't find any script for it after searching.

Why would you want to do this anyway? There is probably another way round it.


RE: How do you disable scrolling? by CookieRevised on 06-08-2005 at 11:11 PM

quote:
Originally posted by supersonicdarky
the title is self explanatory: HOW DO YOU DISABLE SROLLING?

i mean not disable the scroll bar but disable scrolling with the mouse wheel (even if the page is larget than the screen) :S
Disabling the mouse scrolling in what?

Also, check your mouse driver settings (windows' config panel > mouse). Normaly there would be an option to turn off mouse wheel scrolling entirly in Windows.

RE: How do you disable scrolling? by Ezra on 06-08-2005 at 11:31 PM

if you mean with websites. Some simple css will do the trick

body{overflow: hidden;}


RE: How do you disable scrolling? by CookieRevised on 06-08-2005 at 11:33 PM

quote:
Originally posted by Ezra
if you mean with websites. Some simple css will do the trick

body{overflow: hidden;}
that got nothing todo with it...

"overflow" is for the alignment of text, not for mouse wheel scrolling... The overflow declaration tells the browser what to do with content that doesn't fit in a box. You can assign four values to overflow and they give the following results:
   1. visible: The content flows out of the box.
   2. hidden: The overflowing content is completely hidden, not accessible to the user.
   3. scroll. Show horizontal and vertical scrollbars.
   4. auto. Show scrollbars where necessary (horizontal or vertical or both).
RE: How do you disable scrolling? by Ezra on 06-08-2005 at 11:43 PM

That means it won´t show the scrollbar...


RE: How do you disable scrolling? by Supersonicdarky on 06-09-2005 at 01:55 AM

what i meant is that on my site a page in a frame is too large and is scrolable, i would like to disable it. I think is is possible, i've seen it on numerous pop-ups, i'll look for one now :)

I just noticed that it's only in Firefox, but my site looks messed up in IE :(


RE: How do you disable scrolling? by CookieRevised on 06-09-2005 at 03:01 AM

quote:
Originally posted by Ezra
That means it won´t show the scrollbar...
yeah, but this is not what the question is about (and also with "hidden" you will effectivly loose the information/text that is beyond the textbox or whatever. If will simply not show; thus also the "hidden" option isn't even good to have no scrollbars for that matter; you might as well say then, delete all the text from the page...)