After I create another window, I want to be able to click on a link and change an image on the parent window. I was only able to change the image from the parent itself. But this is not what I want.
parent.html contains:
<html>
<head>
<script language="javascript1.2">
<!-- hide from old browsers
window.name = "QuizWindow";
function NewWindow(mypage, myname, w, h, scroll)
{
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable,dependent=yes'
optWindow = window.open(mypage, myname, winprops);
if (parseInt(navigator.appVersion) >= 4) { optWindow.window.focus(); }
}
Bookmarks