rinoa_heartily
04-04-2003, 01:37 AM
i was wondering if someone could tell me the code for transparent scrollbars?
thanks!
thanks!
|
View Full Version : transparent scroll bars rinoa_heartily 04-04-2003, 01:37 AM i was wondering if someone could tell me the code for transparent scrollbars? thanks! Dude128 04-04-2003, 03:02 AM it doesn't exist. normal scrollbars cannot be transparent- the closest you can get is setting the track color the same as your background, if the background is a solid color. you could however use a different type of scrollbar using DHTML. search the forum for information on that, as this has been asked quite a few times before. sherri 04-04-2003, 11:12 PM Actually you are wrong and sorta right. Get a scroll bar code and make all the colors the same has your background.Simple? rinoa_heartily 04-05-2003, 03:54 AM but take for example this layout: http://www.daydreamgraphics.com/graphics/view/3/764 the backround is a image and you can see it's transparent! how do i make one like that?????? Sheila 04-05-2003, 07:45 AM It's not transparent on my computer. The colors just match the background. (That's the problem with transparent scrollbars....not everyone can see them.) Also, their FAQ section has how to do it.... http://www.daydreamgraphics.com/faq/list.php?cat_id=1 NetGirl 04-05-2003, 10:29 AM If you have IFrames, you could try this: In your iframe code, add this code to it: style="FILTER: chroma (color=40FF40)" Now make your scrollbar CSS look like this: <!--body { scrollbar-3dlight-color: #40FF40; scrollbar-arrow-color: #000000; scrollbar-base-color: #40FF40; scrollbar-darkshadow-color: #40FF40; scrollbar-face-color: #FFFFFF; scrollbar-highlight-color: #40FF40; scrollbar-shadow-color: #40FF40; scrollbar-track-color: #40FF40; } --> The color 40FF40 is a lime green that you most likely will not use in any of your CSS...whether it be text, links, or scrollbar. Wherever this color is, that will be the transparent part. I have it setup so that you can only change the arrow color and face color...you can do whatever you want, but I suggest to leave the track color the lime green. ... That's from a tutorial at Jenny's Page (http://www.jennyspage.net). Laura87 04-05-2003, 05:10 PM What about when you can only see the arrow head on the scroll bar like in this site (http://www.spiked-punch.org/tainted/)? Is that just blending in with the background and frame colors, or is it a special code? starlet 04-05-2003, 11:46 PM Thats just blended in yeah, everything is set to white except the arrow part which is set to black. |