SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast 'K''s Avatar
    Join Date
    Mar 2003
    Location
    UK.West Sussex
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Graphical Scrollbars

    Hi,

    I have made an interface using Photoshop which I have loaded within dreamweaver. I have inserted an iframe where I want the main page to load and it has a gradient background so the normal scollbar looks odd being solid.

    I saw on http://www.icemat.com that in their main frame they have a graphical scrollbar and I was wondering if anyone could tell me how to use this on my iframe.

    Thanks!

  2. #2
    ♪♪ ♪ ♪ ♪ ♪♪ ♪ ♪♪ Markdidj's Avatar
    Join Date
    Sep 2002
    Location
    Bournemouth, South UK
    Posts
    1,551
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    you will have to use a mouse-following script applied to a picture that is only allowed to move up and down. Use the mouse position to change the scrollTop of the moving division.
    Did you know you can change the color of the scrollbar in css? including shading and arrow color?
    LiveScript: Putting the "Live" Back into JavaScript
    if live output_as_javascript else output_as_html end if

  3. #3
    SitePoint Enthusiast 'K''s Avatar
    Join Date
    Mar 2003
    Location
    UK.West Sussex
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I knew about changing the colour, but it still looks out of place as the background of the frame is a gradient.

    I have no idea about that other bit, would anyone be able to help

  4. #4
    ♪♪ ♪ ♪ ♪ ♪♪ ♪ ♪♪ Markdidj's Avatar
    Join Date
    Sep 2002
    Location
    Bournemouth, South UK
    Posts
    1,551
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I'll have a look for my mouse-follower script.

    You could use a changing color scroll-bar, depending on the position of scrollTop. Not seen that before.
    LiveScript: Putting the "Live" Back into JavaScript
    if live output_as_javascript else output_as_html end if

  5. #5
    SitePoint Enthusiast 'K''s Avatar
    Join Date
    Mar 2003
    Location
    UK.West Sussex
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks,

    i cant colour the scrollbars as the iframe has a gradient background so it wud look out of place.


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
  •