Forum Moderators: open

Message Too Old, No Replies

iFrames help

         

xiaolavie

1:57 pm on Feb 20, 2004 (gmt 0)

10+ Year Member



Is it possible to change the color of the scrollbars of an iframe, without editing the codes of the page being loading in the iframe?
hope u guys understand my poor english

AWildman

5:17 pm on Feb 20, 2004 (gmt 0)

10+ Year Member



Your English is fine. You can add color to scrollbars, but it only works in Internet Explorer. If you want, I'll post some example css for you.

Dayo_UK

5:22 pm on Feb 20, 2004 (gmt 0)



>>without editing the codes of the page being loading in the iframe?

As Far as I know to do this you have to add the css code to the page being loaded in the Iframe.

Not sure of a way of doing it from the parent page.

AWildman

5:33 pm on Feb 20, 2004 (gmt 0)

10+ Year Member



I think you can just make a scrollbar class and apply it to the iframe.

For example:

iframe
{
scrollbar-3dlight-color:#ffcc00;
scrollbar-arrow-color:#660000;
scrollbar-base-color:#ffcc00;
scrollbar-track-color:#660000;
scrollbar-darkshadow-color:#000000;
scrollbar-face-color:#ffcc00;
scrollbar-highlight-color:#990000;
scrollbar-shadow-color:#ffcc00;
}

Please note, I have not tried this.

xiaolavie

1:21 pm on Feb 21, 2004 (gmt 0)

10+ Year Member



thanks guys
look my main problem is that i have no access to the page being loaded in the iframe, thats why im looking for another way to change the scrollbars color...
anyway thanks for all the help
love u guys :)

AWildman

12:59 pm on Feb 23, 2004 (gmt 0)

10+ Year Member



With the example I gave above, you don't need to have access to the page that appears WITHIN the iframe, only the page on which the iframe appears.