View Full Version : IFRAME scrollbar color change?


Grommit
12-17-2005, 05:44 PM
can it done? would like to change the color like it can be done using the <div> tags.

netaholic
12-17-2005, 06:09 PM
ummm, im not sure if i understand your question correctly, but to change the scrollbar colors, you need to use CSS

pb&j
12-17-2005, 06:27 PM
yes, just use the same css coding you used before (for the divs you mention) but you need to put it into the page coding that appears inside the iframe.

Grommit
12-17-2005, 06:47 PM
OK, what i mean is that i would like to change the different aspects of the IFRAME scroll bar like i can do if i where to use the <div> tages. The way it sounds i could use CSS and that would be great. what would be the code for that, plz give an example...i am a visual person :)

thank you!

pb&j
12-17-2005, 06:54 PM
take the page that is being shown inside the iframe.
add this into the HEAD area of that coding...

<STYLE type="text/css">
BODY {
scrollbar-face-color: FF99FF;
scrollbar-highlight-color: FFFFFF;
scrollbar-3dlight-color: FF99FF;
scrollbar-darkshadow-color: FFFFFF;
scrollbar-shadow-color: FF99CC;
scrollbar-arrow-color: FFFFFF;
scrollbar-track-color: FFCCFF; }
</STYLE>

adjust colors as desired.

Grommit
12-17-2005, 07:26 PM
YIPPY !!! :) ty, that works great. now what about the IE scroll bar..lol

thank you

pb&j
12-17-2005, 07:39 PM
for the scrollbar on the main page, just add that same coding to the main page like you did for the page inside the iframe.

Grommit
12-18-2005, 12:02 AM
OK, thank you, it works great. Just one more question...i promise :D .....i signed up with proboards.com, i would like to have it in my IFRAME when i click a link for message board. is this posable and if so how would i code it. i have searched these forums and have not found a definite answer.

thank you

starlet
12-18-2005, 12:09 AM
I guess you would just put your proboards URL as the src= in a regular iframe code.

Grommit
12-18-2005, 12:22 AM
thanks for reply, but i am unsure what your talking about... i am kinda new at this coding thing. Would i have to make a seperate page and put that code in to direct it to the IFRAME ...anyway this is my main page code for the IFRAME..

<table width="730" cellpadding="5" border="0" align="center">
<tr>
<td align="center">
<IFRAME align=center name="myif" src="news.html" width=673 height=282 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto></IFRAME>
</td>
</tr>
</table>

news.html is loaded as a user enters the site, i have seperate pages for all of my other main links to go the IFRAME on the main page. the code for my message board link is this ....

<A class="type3" HREF="http://aboutthenorm.proboards78.com/index.cgi" target="myif"> message board</a>

What happens from here is the message board does not go into the IFRAME but opens full screen.

any ideas?

thank you

starlet
12-18-2005, 12:46 AM
It might be that proboards have some way of redirecting to full page if the site is loaded in an iframe...infact they do, I just checked. I can't really think of a way around that right now, sorry.

Grommit
12-18-2005, 12:57 AM
OK i was afraid of that, thank you so much all for helpin :) any gppf forum boards out there that i can do this with ( free ones or cost very little)? ty