Return to Snippet

Revision: 7484
at July 25, 2008 20:13 by aristoworks


Initial Code
/* JAVASCRIPT CODE IN <head> */
<script language="javascript">
function loadTwo(iframe1URL, iframe2URL)
{
parent.FRAME1.location.href=iframe1URL
parent.FRAME2.location.href=iframe2URL
}
</script>


/* THE LINK CODE */
<a href="javascript:loadTwo('special1.htm','special2.htm')">special link</a>

Initial URL
http://www.aristoworks.com

Initial Description
This simple little snippet will allow you to change two iframes with the click of just one link.

Initial Title
Change Two iFrames With One Link

Initial Tags
javascript, link

Initial Language
JavaScript