Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q88 How can I change the location of two frames using a simple '<a href="">'?

You are here: irt.org | FAQ | JavaScript | Frame | Q88 [ previous next ]

<script language="JavaScript"><!--
function functionName(fileName1,fileName2) {
    parent.frameName1.location.href = fileName1;
    parent.frameName2.location.href = fileName2;
}
//--></script>

<a href="javascript:functionname('file1.html','file2.html')">Go</a>

Feedback on 'Q88 How can I change the location of two frames using a simple '<a href="">'?'

©2018 Martin Webb