View Full Version : Changing two (or three) frame areas with one link.


pb&j
08-23-2003, 10:20 PM
Changing two or three frame areas with one link.

TWO FRAMES

<a href="newpage1.html"
onClick="parent.left.location='newpage2.html'" target="right"> text or image </a>

newpage1.html will load into the area called right.
newpage2.html will load into the area called left.
change the right, left, newpage1.html, and newpage2.html values to suit your needs.

THREE FRAMES

<a href="newpage1.html" onClick="parent.left.location='newpage2.html';parent.right. location='newpage3.html'" target="middle"> text or image </a>

newpage1.html will load into the area called middle.
newpage2.html will load into the area called left.
newpage3.html will load into the area called right.

again, change all said values to suit your site needs.

make sure you are using the correct spelling and CaSe LeTtErInG for the target area names and webpage file names.