View Full Version : Transparent bg and scrollbars? PLEASE HELP


skateordie_girl
01-31-2004, 06:32 PM
Alright, I'm trying to get transparent scrollbars, with the transparent background i already have (i'm using i-frames). anyway, here's the code i currently use on the main page:

<iframe src="main.html" FRAMEBORDER="0" width="305" height="216" name="frame" style="position:absolute;left:50px;top:52px;"
allowtransparency="true"></iframe>

How would I incorporate transparent scrollbars? I was told it couldnt be done, but i'm not sure. help?

MaGiCSuN
01-31-2004, 06:55 PM
this would be your iframe coding:

<iframe src="main.html" FRAMEBORDER="0" width="305" height="216" name="frame" style="position: absolute; left: 50px; top: 52px; filter: chroma(color=#COLOR);"
allowtransparency="true"></iframe>

then put this on the pages that open INSIDE the iframe:

<style type="text/css">
<!--
body
{ background-color: transparent;
scrollbar-face-color:#ff0000;
scrollbar-arrow-color:#000000;
scrollbar-track-color:#ff0000;
scrollbar-shadow-color:#ff0000;
scrollbar-highlight-color:#ff0000;
scrollbar-3dlight-color:#ff0000;
scrollbar-darkshadow-Color:#ff0000;
}
-->
</style>

between the <head> and </head> tags. The bold part in your iframe coding should match the colour you want to be transparent from your scrollbars in the coding above :)

Love,
Mirna