OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
Scroll Bar Color for scrollable DIV
This page's ID:
28197
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Thank POI! Looking forward to your example... DL-44: I was hoping to reuse the class .bg_Image1 and .bg_Image2 names (not the actual image). And based on the ID'd element they were grouped with, the class would be different - in this case, I'd have a different background image for the class. So (example): [code] <div id="HEADER" class="bg_Image1"> </div> <div id="CONTENT" class="bg_Image1"> </div> <div id="FOOTER" class="bg_Image1"> </div> [/code] The CSS markup for each would define a different background. And then (the magic) based on the state of the web application, the next time the user views the page each of the above element are defined with "bg_Image2"... (this is what is currently happening on the site listed). However, what I am hearing is that my class names should be named better, so how about for bg_Image1 we call it "Bright_Background", and then for bg_Image2 we call it "Dull_Background" for this is exactly the purpose of these two, a bright "vivid" display and then a very dull display.... EXAMPLES: (page is a bit whacked) [url=http://www.meetscoresonline.com/ah_test/forOA.aspx]bright bg[/url] [url=http://www.meetscoresonline.com/ah_test/forOA.aspx?mode=dull]dull bg[/url] Semantic Naming Conventions: I kinda get it... there needs to some sort of a semantic name validator! I'm big on reuse, so the names I chose above stem from the intent to "reuse" the background name. I will continue to work on these naming conventions, there are some great tips here! DLL, taking your advice and nameing the MIDDLE region to MAIN_CONTENT. How's that sound? I'll rename the backround images to bright_background and faded_backround. Kuckus... I think I gave up on coloring the scrollbar... next I'll be looking for the javascript to wire this up! Karl..
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »