Results 1 to 9 of 9

Thread: Making my own scrollbar??

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343

    Making my own scrollbar??

    I want to make my own scrollbar for a layer. I want to do this becasue I want the scroll bar to look the same in all browsers.

    Can this be done???

    Where do I start????

    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  2. #2
    Hyperactive Member GingerNut's Avatar
    Join Date
    May 2002
    Location
    Are those my feet?
    Posts
    372
    Any code I've seen for scroll bars don't work in Netscape.
    How is it one careless match can start a forest fire, but it takes a whole box to start a campfire?

    Global Freelancers | Web Traffic Analyser

  3. #3
    Addicted Member
    Join Date
    Sep 2002
    Location
    Durham, NC, US
    Posts
    218
    So you want your scroll bar to look the same in all browsers. But I want all scroll bars in my environment to look the same.

    You want to undermind my UI? Just set the overflow to scroll and let the UA render the scroll bars.
    Travis, Kung Foo Journeyman

    Web Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.5 Guide and Reference
    Perl: Documentation, Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    OSS: Mozilla, MySQL (Manual)

  4. #4
    Lively Member
    Join Date
    Jul 2002
    Location
    Gateshead, UK
    Posts
    101

    Or there's IE...

    Yes, there's those "special" CSS properties in IE... If you're using layers though (Mozilla/NN right?), you won't want to know lol...
    <% Session("OwNeD")=True %><html><body>Blah... <%="Now get your ass back to the twilight zone..."%></body></html>

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343

    ...

    I was thniking that is was possible to just add two arrows on the side of the layer and have some java script to scroll the layer. And set the overflow to hidden.

    Just a thought....

    How can I use javascript to scroll the layer....???

    TravisG:
    Underminding your UI?!?!? Well to put it this way, everything that is shown in the browser window is MY UI. Your UI is the rest of the browser, not the browser content window. That should belong to the developer of the website.

    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  6. #6
    Lively Member
    Join Date
    Jul 2002
    Location
    Gateshead, UK
    Posts
    101

    I don't know...

    I don't know for sure how to scroll in layers (or DIVs?) using Javascript...

    As for the "UI debate", I agree - the webmaster should decide how the page looks in a browser window; otherwise it would be more of the same, ordinary, non-unique browser controls... I think NN should include a CSS scrollbar ruleset, like IE - you can really make a page cool, when the scrollbars blend in with the bgcolor and/or page content - or contrast it.
    <% Session("OwNeD")=True %><html><body>Blah... <%="Now get your ass back to the twilight zone..."%></body></html>

  7. #7
    Addicted Member
    Join Date
    Sep 2002
    Location
    Durham, NC, US
    Posts
    218

    Re: ...

    Originally posted by Smirre
    Underminding your UI?!?!? Well to put it this way, everything that is shown in the browser window is MY UI. Your UI is the rest of the browser, not the browser content window. That should belong to the developer of the website.
    Two points:

    Your page layout must truely be poor if the use of environmentally determined scroll bars are going to upset anything. Come on now, you can design better than that. Is this a Ford Model T, only looks good in black?

    If you start changing UI conventions, such as scroll bars, you will confuse your audience, and start to create a site that will not be manageable to members of the disabled community.

    Aside from this, you are in for a terrible shock. No where in the HTML or CSS recommendations, does it specify how a UA has to render an interfece element. If you specify and option list, the UA may choose to render a spin list instead of a drop down menu. You should just trust that the UA will do everything consistently and that users will be able to navigate your site reliably.
    Travis, Kung Foo Journeyman

    Web Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.5 Guide and Reference
    Perl: Documentation, Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    OSS: Mozilla, MySQL (Manual)

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    The point is this...

    I have several layers on my site and thought it would be nice too make a smaller scrollbar than what the browser renders. This by adding my own images, arrows that the user clicks to scroll the layer. I could use the browsers own scrollbar, but the the problem is that IE and Netscape has its own way to add a scroll to a layer..... IE adds the scroll without adding more width to the layer and Netscape adds the scroll next to the layer. Get my point???

    Well, well its seams that it isnt possible to do, so I will have to make adjustments to use the browsers scrollbar...

    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  9. #9
    Lively Member
    Join Date
    Jul 2002
    Location
    Gateshead, UK
    Posts
    101

    Jeez!

    LOL - it's only changing the track-color, etc, of scrollbars in IE anyway; nothing getting too deep into the UI to "worry" about...

    As for "the disabled community"... Oh, alright; can't see how changing a little of the scrollbar's colours might confuse someone though... (unless it makes them think that it's not the usual control) No offence, or ignorance either.
    <% Session("OwNeD")=True %><html><body>Blah... <%="Now get your ass back to the twilight zone..."%></body></html>

Posting Permissions

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



Click Here to Expand Forum to Full Width