 |
|
|  |
|
 홈페이지 |
22년 전 |
<head> 와 </head> 사이에 아래의 소스를 넣어주세요
<SCRIPT LANGUAGE="JavaScript">
<!--
function CaricaFoto(img){
foto1= new Image();
foto1.src=(img);
Controlla(img);
}
function Controlla(img){
if((foto1.width!=0)&&(foto1.height!=0)){
viewFoto(img);
}
else{
funzione="Controlla('"+img+"')";
intervallo=setTimeout(funzione,20);
}
}
function viewFoto(img){
largh=foto1.width;
altez=foto1.height;
stringa="width="+largh+",height="+altez+",left="+100+",top="+100+",resizable="+1;
image_view=window.open(img,"",stringa);
image_view.document.write("<html><head><title>이미지 미리보기</title></head>");
image_view.document.write("<body leftmargin=0 marginwidth=0 topmargin=0 marginheight=0>");
image_view.document.write("<img src="+img+" onclick='self.close()'>");
image_view.document.close();
}
// -->
</script>
<body> 와 </body> 사이 원하는 위치에 아래의 소스를 넣어주세요
<A HREF="javascript:CaricaFoto('이미지 주소')" BORDER="0">글이나 이미지</A>
창 뜨는 위치를 정할 수 있고, 새창 이미지 클릭하면 창이 닫힙니다. |
|
추천 : 689 |
추천
목록
|
|
|  |
|