............................Původně odeslal Hanz
tohle je obsah souboru, treba script.js ::
<!--
//Open Image
function obrazek(filename,width,height) {
OpenImg = window.open("","OpenImg","toolbar=no,menubar=no,lo cation=no,directories=no,status=no,scrollbars=no,r esizable=no,width=" + width + ",height=" + height);
OpenImg.document.writeln("<html>");
OpenImg.document.writeln("<head>");
OpenImg.document.writeln("<title>TITUL OKNA</title>");
OpenImg.document.writeln("</head>");
OpenImg.document.writeln("<body bgcolor=\"#FFFFFF\" topmargin=\"0\" leftmargin=\"0\">");
OpenImg.document.writeln("<img src=\"" + filename + "\" width=\"" + width + "\" height=\"" + height + "\">");
OpenImg.document.writeln("</body>");
OpenImg.document.writeln("</html>");
OpenImg.document.close();
OpenImg.focus();
}
//-->
pak uz zbyva jenom nacist to do html kodu, odkaz potom otevres
javascriptbrazek('OBR1.JPG','800','600');
=> velikost volis podle velikosti obrazku v odkazu...





brazek('OBR1.JPG','800','600');
Odpověď s citací