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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search Parent 1

Status
Not open for further replies.

hedidit

Technical User
Jul 21, 2005
142
GB
Hi all,

I've got a popup window that I want to list all the images showing in the parent / opener. Can anyone tell me whether this is possible?

Cheers in advance

 
Hi BillyRayPreachersSon,

Can you give me any pointers? I've looked on google for sample code but can't find any!

Cheers
 
Well - to refer to the opener window, you can use "opener". To refer to its document, you can use "opener.document". This then gives you access to the "getElementsByTagName" method, which you can use to find all images:

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Hey BillyRayPreachersSon

Sorry for the delay in getting back, been away. Anyway yes it did the job a treat!

Cheers for the pointers...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top