HF --
There is a very limited amount of access that you have to a child frame from
the parent frame.  Unfortunately, you basically can't do any alterations to
the DOM (such as what you are trying to do).

-Ben

On Wed, Sep 10, 2008 at 6:28 AM, hotfrost <[EMAIL PROTECTED]> wrote:

>
> Hi everyone,
>
> i need help figuring out to change the background for iframe with
> google results.
>
> doing this:
> var googleIFrameBody =
> frames['googleSearchFrame'].document.getElementsByTagName('BODY')[0];
>  googleIFrameBody.bgColor = "#232323"
>
> and then changing the background. does not have any effect.
>
> i went to the iframe source and i see it clearly that white background
> that i am trying to get rid of is in the body for the page:
>
> <body bgcolor="#ffffff" text="#000000" link="#0000cc" vlink="#551a8b"
> alink="#0000cc" topmargin=2 marginheight=2>
>
>
> Is there any way i can change it???
>
> thanks,
>
> HF
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to