Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Aug 2006
    Location
    Tampa Bay, FL
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Removing right-side scroll bar?

    (I guess this isn't really a Javascript question, but it pertains to using Javascript for certain applications.)

    Does anyone know if you can remove the right-side scroll bar in HTML documents? I am using HTML documents to make screen savers and it kind of takes away from it to have an inactive scroll bar on the right-hand side.

    If anyone has some insight that would be greatly appreciated.

    Thanks.

    ~Keystroke.

    PS If you would like to see what I'm talking about I would be glad to send an SS with the sidebar problem along with the HTML I used to make it.
    Last edited by keystroke; 08-28-2006 at 06:24 AM.

  • #2
    Senior Coder
    Join Date
    Feb 2006
    Location
    USA
    Posts
    1,013
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Change the overflow property for the <html> and <body> elements.
    Learn CSS. | SSI | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions
    Java != JavaScript && JScript != JavaScript
    Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.

  • #3
    New Coder
    Join Date
    Aug 2006
    Location
    Tampa Bay, FL
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't think that will work. Here, I attached the particular code I am working with:

    ABFLeavesFast1.txt

  • #4
    Regular Coder
    Join Date
    Oct 2005
    Location
    Surrey, England
    Posts
    286
    Thanks
    2
    Thanked 2 Times in 2 Posts
    no i think it should

    try:

    Code:
    html { overflow:hidden; }
    body { overflow:hidden;}
    and remember to put a <html> and </html> tag into your document.
    Daniel Warner
    - - - - - - - - - -
    GuitarMart.co.uk - Free Online Classified Advertisement for Guitarists in the United Kingdom. Free Ads with a Free Photo.

  • #5
    Regular Coder
    Join Date
    Jul 2004
    Posts
    201
    Thanks
    8
    Thanked 1 Time in 1 Post
    if that dosnt work try this:

    PHP Code:
    <html>
    <
    head>
    </
    head>
    <
    body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
    <
    iframe src="screensaver.htm" marginwidth="0" marginheight="0" height="100%" width="100%" scrolling="no" border="0" frameborder="0"></iframe>
    </
    body>
    </
    html

  • #6
    New Coder
    Join Date
    Aug 2006
    Location
    Tampa Bay, FL
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    None of those are working. The first one doesn't take out the inactive scroll bar, but it does do something to the Javascript that deactivates it or interferes with it. The second one takes out my background picture and adds an active scrollbar on the right, also deactivating my Javascript (the falling leaves).

    Here is a link to what I am working with in general: http://pages.prodigy.net/bluebutterf...Background.htm

    Thanks for your time, guys.

    ~Keystroke
    Last edited by keystroke; 08-29-2006 at 06:19 PM.

  • #7
    New Coder
    Join Date
    Aug 2006
    Location
    Tampa Bay, FL
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Never mind guys... someone else told me to just put <body scroll=no> in the body. It works fine.

    Thanks again.

    -Keystroke.


  •  

    Posting Permissions

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