Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referencing images on newly opened windows? 1

Status
Not open for further replies.

AndyB21

Programmer
Dec 4, 2000
26
GB

Can anybody tell me whether you can assign images that exist on a new window that you have opened up using window.open(....) to images on your parent page? Does that image have to have a 'name'?

Or are child windows' images protected by security issues?

Cheers,

AndyB


 
I haven't tried this, but I think you can. Windows protected only if they are from other "domain" (for most cases - site).

Michael Dubner
Brainbench MVP/HTML+JavaScript

 
Thanks, this is what I have found. If I open up a local window then I can assign images between the windows. Opening windows from another site gives me security violation problems.

I am trying to assign an image that appears on a sister site to an image on my site dynamically every day. Does anybody know of any ways in which that could be accomplished?

Cheers,

Andy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top