redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

using JS to find frames or windows


Goto page 1, 2  Next
 
Post new topic   Reply to topic    Web Design Forums -> JavaScript forum
View previous topic :: View next topic  
Author Message
BigDaddy



Joined: 26 May 2006
Posts: 147
Can i use javascript to find frames/windows the same way the "<a target=></a>" does it ?
its not exactly what i need
i dont know where the "target" is. it could be in the parent or sibling.
  Reply with quote


Poolkop



Joined: 01 Jun 2006
Posts: 123
Afaik youll have to loop through them all then
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
Brrrr
  Reply with quote
Poolkop



Joined: 01 Jun 2006
Posts: 123
Working with frames is pretty brrrr in the first place anyways
  Reply with quote
Peter Pitt



Joined: 20 May 2006
Posts: 114
Location: Egypt
um
You don't feel like what? Using the DOM?
Document.getElementsByTagName("a") returns a collection of anchors...
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
B0a,its more complicated. i have frames here and i need to get the "document.location.href" of a target, the way <a target=></a> does it
  Reply with quote
Peter Pitt



Joined: 20 May 2006
Posts: 114
Location: Egypt
Is that an incredibly circuitous way of saying you want a list of all window objects? Because if so, you can't get them. You can only access those related to the current one via a frameset or the saved return value of window.open().
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
Peter Pitt, i only need the ones <a target> could possibly address.
  Reply with quote
Peter Pitt



Joined: 20 May 2006
Posts: 114
Location: Egypt
That includes all existing and all possible windows and frames.
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
i would be happy if i could get all undernith "top."
  Reply with quote
Page 1 of 2 Goto page 1, 2  Next
Post new topic   Reply to topic    Web Design Forums -> JavaScript forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group