18 Replies - 2197 Views - Last Post: 14 July 2002 - 04:24 AM
#1
Scroll Bars
Posted 12 July 2002 - 04:47 AM
Thanks, Koenie
Replies To: Scroll Bars
#3
Re: Scroll Bars
Posted 12 July 2002 - 07:55 AM
Koenie
#4
Re: Scroll Bars
Posted 12 July 2002 - 07:56 AM
BODY {
SCROLLBAR-FACE-COLOR: #ff9900; SCROLLBAR-HIGHLIGHT-COLOR: #000000; SCROLLBAR-SHADOW-COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #ffffff; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #ffffff; SCROLLBAR-DARKSHADOW-COLOR: #ffffff
}
If you don't know how to put css in your page, look for a begining css tutorial on google, or go to htmlgoodies.com as they have a basic tutorial on almost everything.
H
#6
Re: Scroll Bars
Posted 12 July 2002 - 08:07 AM
Koenie
#7
Re: Scroll Bars
Posted 12 July 2002 - 08:12 AM
it's easier to put your css inline
put this in your head tag and you are basically up and running.
<STYLE TYPE="text/css">
BODY
{
scrollbar-base-color: orange;
scrollbar-arrow-color: green;
scrollbar-DarkShadow-Color: blue;
}
</STYLE>
you can learn about embedded style sheets in a million different places on the net and you can steal virtually any style sheet that is on the web to see what they did.
the link to the style sheet for dreamincode is here:
d.i.c. stylesheet
#8
Re: Scroll Bars
Posted 12 July 2002 - 08:15 AM
I don't believe you can change the page scroll bar with flash, but you can make a flash movie go fullscreen and then put whatever scroll bar you want. This is an actionscript that allows you to simulate the effect of a browser scrollbar but they aren't the same thing.
H
#9
Re: Scroll Bars
Posted 12 July 2002 - 08:17 AM
Koenie
#10
Re: Scroll Bars
Posted 12 July 2002 - 08:20 AM
Quote
That's actually what I meant, but I didn't know how to explain it. I saw such Flash 'scroll-bars' on a couple of sites. Thanks
Koenie
#11
Re: Scroll Bars
Posted 13 July 2002 - 09:54 AM
hoopster, on Jul 12 2002, 09:12 AM, said:
it's easier to put your css inline
put this in your head tag and you are basically up and running.
<STYLE TYPE="text/css">
BODY
{
scrollbar-base-color: orange;
scrollbar-arrow-color: green;
scrollbar-DarkShadow-Color: blue;
}
</STYLE>
you can learn about embedded style sheets in a million different places on the net and you can steal virtually any style sheet that is on the web to see what they did.
the link to the style sheet for dreamincode is here:
d.i.c. stylesheet
i disagree with you hoopster, why would you want to put your css inline if it's going to be the same for each page?
scroll-bars are one such example that would most likely be the same on each page, as well as font colors, sizes, etc.
it's also very easy to include an embedded style sheet, all you need is this line of code:
<link rel='stylesheet' href='url_to_style_sheet.css' type='text/css'>
and the code within that style sheet is the same as if you had embedded it, it's just on a different page...
#12
Re: Scroll Bars
Posted 13 July 2002 - 11:03 AM
And does that line of script (the link tag) have to be in your header?
Koenie
#13
Re: Scroll Bars
Posted 13 July 2002 - 11:07 AM
#14
Re: Scroll Bars
Posted 13 July 2002 - 11:13 AM
Koenie
#15
Re: Scroll Bars
Posted 13 July 2002 - 11:17 AM
ok, so you have your document, styles.css the stuff you put in it is things like:
BODY
{
SCROLLBAR-FACE-COLOR: #ff9900;
SCROLLBAR-HIGHLIGHT-COLOR: #000000;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-3DLIGHT-COLOR: #ffffff;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #ffffff;
SCROLLBAR-DARKSHADOW-COLOR: #ffffff
}
that's a style for the body tag, and incidentaly that will change the scrollbar to the colors that you see for dic...
i'd go to the resources section to learn more about css
|
|

New Topic/Question
Reply


MultiQuote




|