[ vojkan @ 13.06.2008. 18:40 ] @
Pozdrav svima Ukoliko mi ovako skripta glasi: Code: <script language="javascript" type="text/javascript"> function showregular(path,enlargepath) { document.getElementById('regularImage').src = path; document.getElementById('enlargeimagelink').href = "javascript:showpopup('"+enlargepath+"')"; document.getElementById('enlargetextlink').href = "javascript:showpopup('"+enlargepath+"')"; } function showsizechart() { var width1 = 650 var height1 = 150 var posX = (screen.availWidth - width1)/2 var posY = (screen.availHeight - height1)/2 var x=(screen.availWidth - width1)/2 var y=(screen.availHeight - height1)/2 var attr = "height="+height1+",width="+width1+",alwaysRaised,screenX="+posX+",screenY="+posY+",left="+x+",top="+y window.open("sizechart.php","",attr); } function showpopup(popuppath) { popuppath = "enlarge.php?path="+popuppath var width1 = 720 var height1 = screen.availHeight - 33 var posX = (screen.availWidth - width1)/2 var posY = 0//(screen.availHeight - height1)/2 var x = (screen.availWidth - width1)/2 var y = 0//(screen.availHeight - height1)/2 var attr = "height="+height1+",scrollbars=yes,width="+width1+"alwaysRaised,screenX="+posX+",screenY="+posY+",left="+x+",top="+y window.open(popuppath,"",attr); } </script> u istoj stranici link ovako glasi: Code: <a href="javascript:showpopup('../newphotos/2015_fe.jpg')" name="enlargeimagelink" id="enlargeimagelink"><img src="../newphotos/2015_fr.jpg" name="regularImage" width="220" height="310" border="0" id="regularImage" class="photo"></a> sta treba da napisem u enlarge.php ? jeli ovo? Ako ovo onda mi izadje samo onak crveni krstic :) Code: <html> <head> <title>www.mojaadresa...</title> </head> <body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0"> <img src="" border="0" width="700"> </body> </html> |