Results 1 to 10 of 10

Thread: disable scroll bar?

  1. #1
    Join Date
    Dec 2004
    Posts
    157
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default disable scroll bar?

    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.

  2. #2
    Join Date
    Aug 2004
    Posts
    9,918
    Thanks
    3
    Thanked 969 Times in 957 Posts
    Blog Entries
    15

    Default

    Try:

    <body style="overflow: hidden">

  3. #3
    Join Date
    Dec 2004
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Join Date
    May 2006
    Location
    Alaska
    Posts
    163
    Thanks
    5
    Thanked 2 Times in 2 Posts

    Exclamation

    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?

    ???

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.

  6. #6
    Join Date
    Dec 2006
    Location
    Near Derby, UK
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by djr33 View Post
    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?

  7. #7
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    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?
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

  8. #8
    Join Date
    Dec 2006
    Location
    Near Derby, UK
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by alexjewell View Post
    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.

  9. #9
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    808
    Thanks
    87
    Thanked 2 Times in 2 Posts

    Default

    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 ...

  10. #10
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,167
    Thanks
    44
    Thanked 3,240 Times in 3,201 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by darco9x2 View Post
    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.
    Quote Originally Posted by ddadmin View Post
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •