HighDots Forums  

Re: retrieve the location of a page in a frame

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: retrieve the location of a page in a frame in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Fre
 
Posts: n/a

Default Re: retrieve the location of a page in a frame - 04-17-2004 , 04:43 PM






Now the code is error free, but i don't get an alertbox?

Thx for reaction Mike!

Frederik



Reply With Quote
  #2  
Old   
Fre
 
Posts: n/a

Default Re: retrieve the location of a page in a frame - 04-17-2004 , 05:43 PM






Thank you very much Mike to take time solving my problem!
Since you told me that the frames collection contains all of the frames in a
window i understand it perfect now.
I've read many forums before this post and there i've read some articles
with the use of this scriptline:
top.frames[1].frames[0].location (forum i visited for this script:
http://www.asp.net/Forums/ShowPost.a...&PostID=507978)

In the past i worked already with css for some of my school projects but for
this one i started working with frames (don't ask why but this is the
last time i do it this way)

Greetz Frederik

"Michael Winter" <M.Winter (AT) blueyonder (DOT) co.invalid> schreef in bericht
newspr6mcxlqr5vklcq (AT) news-text (DOT) blueyonder.co.uk...
Quote:
On Sat, 17 Apr 2004 20:43:29 GMT, Fre
frederik.vandenNOSPAMMdriessche (AT) howest (DOT) be> wrote:

Now the code is error free, but i don't get an alertbox?

This is probably what you're after. The frames collection contains all of
the frames in a window, not per frameset. That means that "left" is frame
0, "head" is frame 1, "content" is frame 2, "menu" is frame 3, and "right"
is frame 4.
....
Michael Winter
M.Winter (AT) blueyonder (DOT) co.invalid (replace ".invalid" with ".uk" to reply)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.