<class home>  <Jscript>   <back   next>

Changing Multiple frames with one link

You may want to change out more than one frame someday with one link.


1. Make a frameset

2. from your link type in the code:

<a href="javascript:location='links.html';
parent.topright.location='logo1.html';
parent.bottomright.location='content1.html'">

click here to change</a>

 

explained:
"javascript:location='links.html'; <!--this will reload the page that the link comes from. If you want the same page in there, just link to it-->

parent.topright.location='logo1.html'; <!--this is going to replace the frame named "topright" with a new page-->

parent.bottomright.location='content1.html'"<!--this is going to replace the frame named "bottomright" with a new page-->