blob: ac5c1441c2bc12fdde20dc244594828c45ae192b [file] [log] [blame]
<html>
<head><title>This is a test page with frames</title>
<script>
function simulateClick(target) {
var evt = document.createEvent("MouseEvents");
evt.initMouseEvent("click", true, true, window,
0, 0, 0, 0, 0, false, false,
false, false, 0, null);
return target.dispatchEvent(evt);
}
function clickLink(linkID) {
target = frames['navFrame'].document.getElementById(linkID);
if (target == null)
alert("clickLink failed for id=" + linkID);
return simulateClick(target);
}
</script>
</head>
<frameset cols="25%,75%">
<frame src="frame_left.html" name="navFrame">
<frame src="frame_right.html" name="contentFrame">
</frameset>
</html>