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 6 of 6
  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    scroll bars...if this is in the wrong section please move it

    hey i was just wondering if you could tell me how u put a scroll bar on you page.........ihave asked almost everyone i have talked to and no one really seems to know. So if you could tell me i would be so very greatful. It makes me so mad that i can not figure it out and i am tring to addone to my site.
    Thanks

    P.S.
    This is the site address and what i want is for me to be able to use the links and have the info go to the scroll bar instead of having to reload the whole page again.Elaborate Designs

  • #2
    WA
    WA is offline
    Administrator
    Join Date
    Mar 2002
    Posts
    2,596
    Thanks
    2
    Thanked 19 Times in 18 Posts
    Do you mean a custom scrollbar? I ask this because obviously, the browser automatically creates scrollbars when the length of the page exceeds the height of the browser window.

    A custom scroll bar, or more specifically, function, could be found here: http://www.dynamicdrive.com/dynamici...gescroller.htm
    - George
    - JavaScript Kit- JavaScript tutorials and 400+ scripts!
    - JavaScript Reference- JavaScript reference you can relate to.

  • #3
    New Coder
    Join Date
    Jul 2002
    Location
    Houston, TX
    Posts
    84
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I was assuming you ment something like this:
    http://javascript.internet.com/scrol...-vertical.html

    Michael

  • #4
    New Coder
    Join Date
    Jul 2002
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    actually i meant something like this, but thankyou for giving me this idea if the other scroll bar does not workhttp://www.khweb.co.uk/

  • #5
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72 W. 48' 57" , 41 N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    that's just an IFrame, with a styled scrollbar. you set up the IFrame like this:

    <IFRAME SRC="somepage.htm" NAME="iFrame"></IFRAME>

    Now you can load documents into the IFrame using <A HREF="somepage.htm" TARGET="iFrame">click click</A>.

    in order to style the scrollbar, you include this in your style sheet:

    body { scrollbar-base-color: #00FF00; }

    or

    body {scrollbar-face-color: #FFFFFF; scrollbar-shadow-color: #000000;
    scrollbar-highlight-color: #000000; scrollbar-3dlight-color: #FFFFFF;
    scrollbar-darkshadow-color: #FFFFFF; scrollbar-track-color: #FFFFFF;
    scrollbar-arrow-color: #000000;}

    the former automatically colors the scrollbar for you, the latter gives you more control over the scrollbar.

    be sure to remember that you can only customize the scrollbar like that in Explorer.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #6
    New Coder
    Join Date
    Jul 2002
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    question

    hey i'm jsut wondering if there was a way to link from one frame to another that are right next to each other?ehre what i amtring to do....i am tring to link the affilate elaborate designs to the main fram is that possible?


  •  

    Posting Permissions

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