Yomar Urungar: PEINLICHSTE ALLER FRAME FRAGEN....

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

  1. Hi,

    (...)
    auch

    function openURL(url){

    parent.showFrame.location.href = "www.google.com";

    }

    funktioniert nicht.

    Hat jemand Ideen?

    Nur ein Schnellschuß: Vielleicht solltest Du mal ein http:// vor die URL setzen...

    Gruß aus Bilk

    Rainer