Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-11-2002, 07:38 PM   PM User | #1
Jon T
Regular Coder

 
Join Date: Dec 2002
Location: Phoenix, Arizona, USA
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Jon T is an unknown quantity at this point
Internet Explorer Removal of WinXP Buttons / Bars in IE6

Now, I know there is a snip of code to remove the XP style from Scrollbars in you forms, and for the life of me, I can not find it on Microsofts Web Site...

Anyone know what I'm talking about?

TYIA!
__________________
.::: livemotioncentral | phoenixnow | techiewidows | jonsresume :::.
Jon T is offline   Reply With Quote
Old 12-11-2002, 07:45 PM   PM User | #2
krycek
Regular Coder

 
Join Date: Nov 2002
Location: Bristol, UK
Posts: 932
Thanks: 0
Thanked 0 Times in 0 Posts
krycek is an unknown quantity at this point
I think this is what you are after. (It's CSS of course )

Code:
* {
	scrollbar-arrow-color: #99ACD5;
	scrollbar-track-color: #CCCCEE;
	scrollbar-base-color: #004C8A;
	scrollbar-highlight-color: #004C8A;
	scrollbar-shadow-color: #004C8A;
	scrollbar-3dlight-color: #668CBC;
	scrollbar-darkshadow-color: #668CBC;
}
That will apply it to all elements with a scrollbar, but of course you can change the * to body, or textarea, etc.

I hope that helps!

::] krycek [::
__________________
ithium | SOAPI | SDP | PTPScript manual
"ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."
krycek is offline   Reply With Quote
Old 12-11-2002, 08:33 PM   PM User | #3
Jon T
Regular Coder

 
Join Date: Dec 2002
Location: Phoenix, Arizona, USA
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Jon T is an unknown quantity at this point
Nope, but TY, tere is a bit of code that removes the XP style, I have seen it before, but can not find it!
__________________
.::: livemotioncentral | phoenixnow | techiewidows | jonsresume :::.
Jon T is offline   Reply With Quote
Old 12-11-2002, 11:27 PM   PM User | #4
krycek
Regular Coder

 
Join Date: Nov 2002
Location: Bristol, UK
Posts: 932
Thanks: 0
Thanked 0 Times in 0 Posts
krycek is an unknown quantity at this point
hmmm, maybe you need to be a bit more descriptive with your question, then...?

Quote:
...a snip of code to remove the XP style from Scrollbars in you forms...
I assumed that you simply meant exactly that, to remove the XP style from scrollbars

Can you elaborate...? It may be that someone here knows what you mean, but misunderstood, in the same way that I did.

::] krycek [::
__________________
ithium | SOAPI | SDP | PTPScript manual
"ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."
krycek is offline   Reply With Quote
Old 12-12-2002, 12:04 AM   PM User | #5
Jon T
Regular Coder

 
Join Date: Dec 2002
Location: Phoenix, Arizona, USA
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Jon T is an unknown quantity at this point
Lightbulb

Humph, it's pretty much what I said. Explorer, as we all know has little features you can turn on and turn off in the body tag, like scroll="no" right...

So, whats the tag to disable the XP gui from form elements...

__________________
.::: livemotioncentral | phoenixnow | techiewidows | jonsresume :::.
Jon T is offline   Reply With Quote
Old 12-12-2002, 12:13 AM   PM User | #6
krycek
Regular Coder

 
Join Date: Nov 2002
Location: Bristol, UK
Posts: 932
Thanks: 0
Thanked 0 Times in 0 Posts
krycek is an unknown quantity at this point
I guess you have answered you own question, then... just do scroll="no"

But somehow I doubt that's what you mean - why can't you just say exactly what you are trying to disable?

However, I will hazard a guess that this has nothing to do with scrollbars... and maybe you just want to change form elements.

Just try changing the borders etc. in CSS, that will do it.

::] krycek [::
__________________
ithium | SOAPI | SDP | PTPScript manual
"ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."
krycek is offline   Reply With Quote
Old 12-12-2002, 12:25 AM   PM User | #7
Jon T
Regular Coder

 
Join Date: Dec 2002
Location: Phoenix, Arizona, USA
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Jon T is an unknown quantity at this point
Re: Removal of WinXP Buttons / Bars in IE6

Krycek... Here is my first post. It says it all
Quote:
Originally posted by Jon T
Now, I know there is a snip of code to remove the XP style from Scrollbars in you forms, and for the life of me, I can not find it on Microsofts Web Site...

Anyone know what I'm talking about?

TYIA!
So, if you have windows XP, you will notice that all your form buttons, scrollbards, E V E R Y T H I N G, in your web page form, has the XP GUI style. Now, you can remove the XP GUI style so that even in windows XP, the form will look like every other form on every other computer.

Just like a MAC, with OSX. When you look at the forms, it has the MAC style buttons, MAC style scrollbars for text areas, etc...

Is this clear? Sorry if I sound short, but I can not think of any other way to explain it...
__________________
.::: livemotioncentral | phoenixnow | techiewidows | jonsresume :::.

Last edited by Jon T; 12-12-2002 at 12:27 AM..
Jon T is offline   Reply With Quote
Old 12-12-2002, 12:28 AM   PM User | #8
krycek
Regular Coder

 
Join Date: Nov 2002
Location: Bristol, UK
Posts: 932
Thanks: 0
Thanked 0 Times in 0 Posts
krycek is an unknown quantity at this point
Your post hasn't changed. It is still as undescriptive as before. Notice you said scrollbars. You did not say all form elements.

Plus, I told you how to do it.

Be more descriptive next time, and a little nicer to people who try to help you - or else they may not bother.

::] krycek [::
__________________
ithium | SOAPI | SDP | PTPScript manual
"ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."

Last edited by krycek; 12-12-2002 at 12:51 AM..
krycek is offline   Reply With Quote
Old 12-12-2002, 12:45 AM   PM User | #9
Jon T
Regular Coder

 
Join Date: Dec 2002
Location: Phoenix, Arizona, USA
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Jon T is an unknown quantity at this point
Quote:
Originally posted by krycek
Be more secriptive next time, and a little nicer to people who try to help you - or else they may not bother.

::] krycek [::
That is why I had said the following.

Sorry if I sound short, but I can not think of any other way to explain it...

I guess I am alone in my ignorance... When I find the answer, I will be sure to post it for everyone to use.

TY for taking the time in at least trying to help.
__________________
.::: livemotioncentral | phoenixnow | techiewidows | jonsresume :::.
Jon T is offline   Reply With Quote
Old 12-12-2002, 12:54 AM   PM User | #10
krycek
Regular Coder

 
Join Date: Nov 2002
Location: Bristol, UK
Posts: 932
Thanks: 0
Thanked 0 Times in 0 Posts
krycek is an unknown quantity at this point
no worries, but I am pretty sure that I know what you mean by now, and as far as I know the answer is simply to set the border, background-color, and color properties etc. of the elements in question. Although they will not apply directly to the ACTUAL border, background etc. of the element, setting them should force XP to use the older style.

I know this works because I did it myself just a few days ago.

::] krycek [::
__________________
ithium | SOAPI | SDP | PTPScript manual
"ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."
krycek is offline   Reply With Quote
Old 12-12-2002, 03:25 AM   PM User | #11
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,042
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
Yeah using CSS you can override what the form elements look like. However you'll have to find the settings to aproximate what they used to look like in previous windows versions.
__________________
OracleGuy
oracleguy is offline   Reply With Quote
Old 12-12-2002, 01:26 PM   PM User | #12
krycek
Regular Coder

 
Join Date: Nov 2002
Location: Bristol, UK
Posts: 932
Thanks: 0
Thanked 0 Times in 0 Posts
krycek is an unknown quantity at this point
thanks for the backup, oracleguy

::] krycek [::
__________________
ithium | SOAPI | SDP | PTPScript manual
"ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."
krycek is offline   Reply With Quote
Old 12-12-2002, 01:54 PM   PM User | #13
Jon T
Regular Coder

 
Join Date: Dec 2002
Location: Phoenix, Arizona, USA
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Jon T is an unknown quantity at this point
Ok, you are both true, I can change these features though CSS, but what if I want the form elements to look normal, as it would on Win2k, and further, what if I wanted the form elements to change color based on the users system theme? CSS would not do this, correct...

Sorry to disappoint you, but this is what I was looking for… Quote from MSDN.

Windows XP user interface support
When running on Windows XP, Internet Explorer 6 and the content displayed in it sports a look and feel that matches the Windows XP platform. You can opt to have your HTML content not take on the same look as the operating system for elements such as buttons and scroll bars, by adding the following META tag:

Code:
<META HTTP-EQUIV="MSThemeCompatible" Content="No">
TY Both for your help though...
__________________
.::: livemotioncentral | phoenixnow | techiewidows | jonsresume :::.
Jon T is offline   Reply With Quote
Old 12-12-2002, 03:27 PM   PM User | #14
krycek
Regular Coder

 
Join Date: Nov 2002
Location: Bristol, UK
Posts: 932
Thanks: 0
Thanked 0 Times in 0 Posts
krycek is an unknown quantity at this point
hmm, that's useful - I never knew that existed

however, you can do all the other stuff you mentioned quite easily in CSS, like making the colours match the user's system colours.

I would point out though that removing the theme *may* not still allow the elements to match the system colours, although I see no reason why they shouldn't. But then, this is Microsoft we are talking about, and reason does not always come into it

...glad you found what you were looking for though

::] krycek [::
__________________
ithium | SOAPI | SDP | PTPScript manual
"ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."
krycek is offline   Reply With Quote
Old 12-12-2002, 03:33 PM   PM User | #15
Jon T
Regular Coder

 
Join Date: Dec 2002
Location: Phoenix, Arizona, USA
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Jon T is an unknown quantity at this point
Ok, you have my interest, what is the CSS to maintain ones system colors, based on what the user has selected?
__________________
.::: livemotioncentral | phoenixnow | techiewidows | jonsresume :::.
Jon T is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:19 PM.


Advertisement
Log in to turn off these ads.