PDA

View Full Version : disable scroll bar?



darco9x2
03-02-2005, 09:18 PM
how can i disable the scroll bar on the page? cuz i have a iframe that takes up the page, and i dont want to have the main scroll bar cuz it looks stupid.

ddadmin
03-02-2005, 09:38 PM
Try:

<body style="overflow: hidden">

viktor
03-06-2005, 10:52 PM
scrolling="no"

is a good code to use for webpage but it depends what you have on your website.
You can play around with it placing it in different parts.

???
05-02-2006, 02:32 AM
since you can disable the scroll bar, you no how you can use the scroll wheel, or click the scroll wheel and then move up and down the page, can you disable those?

???

djr33
05-02-2006, 04:08 AM
Why? If you've got content there, you should be able to see it.
If not, don't be lazy and just cut off the content so there ISN'T more.
And, no... not from what i've heard.

There are disable right click scripts, so MAYBE you could disable the arrow keys AND the scroll wheel, but that would really annoy people.

Just make your page smaller, and you're done.

spam_banjo
08-01-2007, 06:26 PM
Just make your page smaller, and you're done.

REAL helpful. Do you actually know how to disable them or not?

Was there really any point to your post other than to flame the guy?

alexjewell
08-01-2007, 09:24 PM
Spam_Banjo, the solution to the problem isn't always the answer to the question. Was there any point to your post...?

And, what is the reason for disabling scrolling, darco?

spam_banjo
08-02-2007, 11:24 AM
Was there any point to your post...?

Yeah. I need an answer too, but not quite to his question.

Unfortunately mine needs to be specifically JavaScript. I started a post.

chechu
08-07-2007, 03:38 PM
If you use "scrolling=no" of what I know, the content cannot be moved up and down. Right ?
And Alex

the solution to the problem isn't always the answer to the question
Deep, but I cannot figure it out ...

jscheuer1
08-07-2007, 03:55 PM
how can i disable the scroll bar on the page? cuz i have a iframe that takes up the page, and i dont want to have the main scroll bar cuz it looks stupid.


Try:

<body style="overflow: hidden">

I don't know what all the subsequent fuss in this thread is about. The initial question and its answer were the first two posts (quoted above) and make complete sense.

Sometimes you people should read the whole thread before commenting.