You are here: irt.org | FAQ | JavaScript | Frame | Q1149 [ previous next ]
Try:
<script language="JavaScript"><!-- function reloadFrame() { if (navigator.appName == 'Netscape') rightFrame.location.href = 'netscape.htm'; else if (navigator.appName == 'Microsoft Internet Explorer') rightFrame.location.href = 'explorer.htm'; else rightFrame.location.href = 'another.htm'; } //--></script> <frameset rows="50%,*" onLoad="reloadFrame()"> <frame src="test.htm" NAME="leftFrame"> <frame src="about:blank" NAME="rightFrame"> </frameset>