Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: about Frames and Locations


Message #1 by "Ali Benzes" <alib@k...> on Fri, 1 Nov 2002 15:40:01 +0200
Hi All.
I have a 4 frame in my proje(one explorer page).
I want to make 
if 
1.frame=first.asp 2.frame=firstmenu.asp.
1.frame=third.asp 2.frame=thirdmenu.asp   .
 
But my code dont working correct.
 
Here is my code;
<script>
if (Parent.topframe.location=first.asp)
{
parent.mainFrame.location.href='firstmenu.asp';
}
</script>
 
 
 
******************************
         Best Regards
          Ali Benzes
******************************
 
 
 


  Return to Index