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
Printable View
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
Any code I've seen for scroll bars don't work in Netscape.
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.
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...
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
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.
Two points:Quote:
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.
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.
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
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.