By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,238 Members | 1,565 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,238 IT Pros & Developers. It's quick & easy.

https frame style

P: n/a
Hi

I have an iframe contained withing a normal frame.
The normal frame is http and the iframe is https.

I need to change the style of the iframe several times while the user
is using it, for example, the height or color or position etc...

If the iframe was http I could do this:

parent.document.getElementById("frameID").style.wh atever = something;

unfortunately because of the iframe being https, javascript cannot
access the parent, and for those of you who are thinking about telling
me to make the container frame https, this is not possible in the
current context.

Is there a way to change a frame's style within that frame?

thank you...

Xavier
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Xavier Bourguignon wrote:
I have an iframe contained withing a normal frame.
The normal frame is http and the iframe is https.
[...]
Is there a way to change a frame's style within that frame?


No, the Same Origin Policy forbids it.
PointedEars
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.