Czy orientuje sie ktoś dlaczego poniższy skrypt nie działa w IE, pomimo że działa w firefoxie?
function obraz(obrazek,szerokosc,wysokosc) { new_window = open("","Okienko","width="+szerokosc+",height="+wysokosc+",left=50,top=50"); // open new document new_window.document.open(); // Text of the new document // Replace your " with ' or \" or your document.write statements will fail new_window.document.write("<body bgcolor=\"#000000\" style=\"margin-left:0px; margin-bottom:0px; margin-right:0px; margin-top:opx; margin:0px;\">"); // close the document new_window.document.close(); }
W pasku pojawia się błąd, że w 3 lini jest nieprawidłowy argument.