On 9/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is is possible to change the body class within iFrame's source HTML from
> the iframes parent page?

Darren, I'm not sure if this subject belongs to this list.

Anyhow, I've tested the following and it works:
onclick="frames['myiframe'].document.getElementsByTagName('BODY')[0].className='blue'"

Please note that for the .blue to be applied to the document on the
iframe, the stylesheet must be available to that document. That is,
.blue {...} must be on the iframe, not on the main page.

Let me know if it helps,
- Manuel
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to