샤

클릭해서 이미지 팝업 뛰우기.

· 2008-09-06 (토) 00:45:29 · 2990
<html>
<head>
<script language="JavaScript">
<!--
var win1Open = null
function displayImage(picName, windowName, windowWidth, windowHeight){
return window.open(picName,windowName,"toolbar=no,scrollbars=no,resizable=no,width=" + (parseInt(windowWidth)+20) + ",height=" + (parseInt(windowHeight)+15))
}
function winClose(){
if(win1Open != null) win1Open.close()
}
function doNothing(){}
//-->
</script>
<script language="JavaScript1.1">
<!--
function displayImage(picName, windowName, windowWidth, windowHeight, myText){
var winHandle = window.open("" ,windowName,"toolbar=no,scrollbars=no,resizable=no,width=" + windowWidth + ",height=" + windowHeight)
if(winHandle != null){
var htmlString = "<html><head><title>Picture</title><META http-equiv='imagetoolbar' content='no'></head>"
htmlString += "<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0  oncontextmenu='return false' ondragstart='return false' onselectstart='return false'>"
htmlString += "<center>"+myText+"</center>"
htmlString += "<a href=javascript:window.close()><img src=" + picName + " border=0 alt=닫기></a>"
htmlString += "</body></html>"
winHandle.document.open()
winHandle.document.write(htmlString)
winHandle.document.close()
}
if(winHandle != null) winHandle.focus()
return winHandle
}
//-->
</script>
</head>
<body>
<a href="javascript:doNothing()" onClick="win1Open=displayImage('aaa.jpg', 'popWin1', '370', '545', '여기에 글을 넣으세요.')" onMouseOver="window.status='Click to display picture'; return true;" onMouseOut="window.status=''"><img src="aaa.jpg" width="83" height="137" border="0"></a>
<a href="javascript:doNothing()" onClick="win1Open=displayImage('a.jpg', 'popWin1', '370', '546', '여기에 글을 넣으세요.')" onMouseOver="window.status='Click to display picture'; return true;" onMouseOut="window.status=''"><img src="a.jpg" width="98" height="142" border="0"></a>
<a href="javascript:doNothing()" onClick="win1Open=displayImage('3.jpg', 'popWin1', '500', '390', '여기에 글을 넣으세요.')" onMouseOver="window.status='Click to display picture'; return true;" onMouseOut="window.status=''"><img src="kissgod03t.jpg" border="0"></a>
</body>
</html>
[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
12-01-11 조회 2,634
12-01-11 조회 1.2만
12-01-10 조회 2,631
12-01-08 조회 3,350
12-01-05 조회 5,228
11-12-29 조회 2,857
11-12-27 조회 2,748
11-12-25 조회 2,890
11-12-22 조회 3,193
11-12-14 조회 2,775
11-12-12 조회 3,377
11-11-28 조회 3,304
10-10-19 조회 2,772
08-09-05 조회 3,678
08-09-05 조회 3,504
08-06-14 조회 3,250
08-04-22 조회 3,520
08-04-17 조회 3,529
07-10-03 조회 4,129
07-10-03 조회 3,540
07-10-03 조회 7,210
07-10-03 조회 4,451
07-10-03 조회 3,175
07-10-03 조회 2,764
07-10-02 조회 3,512
07-10-02 조회 3,031
07-09-27 조회 4,948
07-09-27 조회 3,764
06-09-26 조회 3,458
06-09-26 조회 4,665
06-09-22 조회 3,830
06-09-22 조회 3,432
06-09-22 조회 4,171
06-09-21 조회 4,137
06-08-18 조회 3,616
05-11-30 조회 4,676
05-07-15 조회 4,529
05-03-23 조회 4,583
05-03-14 조회 3,233
05-03-13 조회 2,619
04-08-05 조회 5,704