Results 1 to 6 of 6

Thread: Making scroll bars transparent?

  1. #1
    Join Date
    Dec 2006
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Making scroll bars transparent?

    Is there a way to make scroll bars transparent? Or just not show but still provide the function of when the mouse wheel is scrolling?

    And is there a way to add custom graphics to sub for the default.

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

    Default

    Not sure, exactly. Might be possible, but might not due to security.

    One option: Create a thing (div, perhaps) that fills the entire screen (meaning it's 100% high/wide). That won't create scrollbars...
    then place into that div what you need. Enable scrolling in the Div and hide the scrollbars for the div (I think this is possible.)
    Anyway... just thoughts. Sorry it's not much help.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Dec 2006
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    http://silverella.blogspot.com/ ran across that blog,

    Notice how you can scroll when hovering over diffferent sections. Any clue how to code something like that?

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Those are just standard divs, with overflow: auto; set.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    905
    Thanks
    114
    Thanked 2 Times in 2 Posts

    Default

    Or just not show but still provide the function of when the mouse wheel is scrolling?
    Add this in the head

    Code:
    <style type="text/css">
    <!--
    
    body
    	{
    	scrollbar-face-color:white;
    	scrollbar-arrow-color:white;
    	scrollbar-track-color:white;
    	scrollbar-shadow-color:white;
    	scrollbar-highlight-color:white;
    	scrollbar-3dlight-color:white;
    	scrollbar-darkshadow-Color:white;	
    	background-attachment: fixed;
    }
    
    -->
    </style>

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    That will only work in IE and Konqueror, as far as I know. No other major browser supports these properties, since they are non-standard.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •