Hallo,
ich habe ein Frameset folgendermaßen definiert:
<frameset cols="20,*" frameborder="NO" border="0" framespacing="0">
<frame src="Applet-JavaScript.htm" name="scriptFrame">
<frame src="useless.htm" name="showFrame" scrolling="NO" noresize>
</frameset>
jetzt habe ich in der datei Applet-JavaScript.htm ein Script, das die URL von dem Frame namens "showFrame" verändern soll, aber irgendwie klappt das nicht. Das script lautet:
function openURL(url){
parent.showFrame.location.href = url;
}
wobei url ein String ist.
auch
function openURL(url){
parent.showFrame.location.href = "www.google.com";
}
funktioniert nicht.
Hat jemand Ideen?
Danke
Yomar