...

View Full Version : how can I get to one frame from another?



rokky
07-14-2005, 01:06 PM
I have next frameset:


<frameset cols="275,1,*" framespacing="0" frameborder="0">
<frame src="frame1.html" scrolling="yes" noresize name="frame01">
<frame src="frame2.htm" scrolling="no" noresize name="frame02">
<frameset rows="55,*,28" frameborder="no" framespacing="0" border="0">
<frame src="frame3.html" scrolling="no" noresize name="frame03">
<frame src="frame4.html" name="topic_content" scrolling="yes" name="frame02">
<frame src="frame5.html" scrolling="no" noresize name="frame05">
</frameset>
</frameset><noframes></noframes>

How can I get access from frame04 to frame01?

_Aerospace_Eng_
07-14-2005, 01:10 PM
Depends on what you were trying to access. You will have to go up to the parent level and back down to the frame name to access it.



<a href="somepage.html" onclick="parent.someframename.location=this.href;return false">Some Page</a>


But the above is just an example, its usefulness is meaningless since you can just target a frame by using the target attribute in a link.

rokky
07-14-2005, 02:01 PM
thanks - everything is working fine now
I ' ve found where was the problem
:thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum