hallo
ich hab folgendes problem
habe in meiner seite ein DIV eingebaut. dieses benutze ich als popup.
nun hab ich in diesem "popup" nach einer abfrage werte stehen. diese werte möchte ich in das den browser der dieses "popup" geöffnet hat eintragen. hab jetzt getElementById und opener probiert aber ging nicht. hättet ihr vorschläge?
ich hab folgendes problem
habe in meiner seite ein DIV eingebaut. dieses benutze ich als popup.
Code:
function PopupOpen(adresse, width, height) { myElement = document.getElementById("popup"); if(myElement != null) { height2 = height + 30; var hilfe = "<div style=\"position:absolute; left: 250px; top:50px; width:" + width + "px; height:" + height2 + "px; background-color:silver; padding-left:5px; padding-right:5px; padding-top:5px\"><iframe frameborder=\"0\" id=\"Frame\" src=\""+ adresse + "\" width=\"" + width + "\" height=\"" + height + "\" border=\"0\"></iframe><a href=\"#\" onClick=\"Close()\">Schließen</A></div>"; myElement.innerHTML=hilfe; } }