View Full Version : transparent scollbar in iframe


somechick
02-21-2003, 02:24 AM
I was wondering if you could have a transparent scrollbar in a iframe window. I can't seem to get it right.

MaGiCSuN
02-21-2003, 11:58 AM
this question has been asked so many times. Before you start a thread try to search the forum first with the search button at the top.

Here are all the threads about transparent scrollbars:

http://www.lissaexplains.com/forum/search.php?action=showresults&searchid=51497&sortby=lastpost&sortorder=descending

Love,
Mirna

somechick
02-21-2003, 02:47 PM
I did search through the forum but nobody had anything about iframes and scrollbars together. It was always seperate.

Sheila
02-21-2003, 02:54 PM
I found this in one of the threads, Mirna mentioned above....

http://www.jennyspage.net/transscroll.html

You would have to put that on each page that appears in the iframe.

somechick
02-21-2003, 02:59 PM
Would that work if you used the .shtml extension? I forgot what it's called.

Sheila
02-21-2003, 03:03 PM
Just test it on one of your pages.....It should work.

somechick
02-21-2003, 03:21 PM
Great! Thanks so much.

bobby
02-22-2003, 08:14 PM
err...I got a problem.

I tried using the code from the tutorial link above. but my scrollbar didn't turn transparent, it turned black. Did I do something wrong?

here's my code

in the main page:

<iframe src="frame.html" name="content" width="366"

height="248" frameborder="0" border="0" ALLOWTRANSPARENCY="true"

style="filter:chroma(color=#40FF40)">
</iframe>

in each frame:
<style type="text/css">
<!--

A:link
{ text-decoration: none;
color:#433849 }
A:visited
{ text-decoration: none;
color:#433849 }
A:active
{ text-decoration: line-through;
color:#FFFFFF }
A:hover
{ text-decoration: line-through;
color:#FFFFFF;
cursor: s-resize }

body
{ font-family: verdana,arial,tahoma;
color: #504E4F;
font-weight: normal;
font-size: 10 pt;
scrollbar-3dlight-color: #40FF40;
scrollbar-arrow-color: #504E4F;
scrollbar-base-color: #504E4F;
scrollbar-darkshadow-color: #504E4F;
scrollbar-face-color: #40FF40;
scrollbar-highlight-color: #504E4F;
scrollbar-shadow-color: #504E4F;
scrollbar-track-color: #40FF40; }



-->
</style>

PrincessKT
02-24-2003, 02:19 AM
Everything seems right to me. It probably should work... can you give me the url?