»óǰÆäÀÌÁö°¡ ³Ê¹« ±æ¾îÁö´Ù º¸´Ï ¸ÞÀÎ »ó¼¼¼³¸í¿¡´Â °£·«ÇÑ À̹ÌÁö¸¸ ¹è¿Çϰí, »ó¼¼À̹ÌÁö´Â Ŭ¸¯À» ÅëÇØ ÀÚ¼¼È÷ º¸¿©ÁÖ´Â ¹æ½ÄÀ¸·Î, ÁÖ·Î ÀÇ·ù ÆÇ¸ÅÀڵ鲲¼ ÀÌ¿ëÇϽøé À¯¿ëÇÑ ¹æ¹ýÀÔ´Ï´Ù.
Å©°Ô µÎ °¡Áö ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.
1. Àüü À̹ÌÁöÀÇ Æ¯Á¤ ºÎºÐ¿¡ ¸ÊÀ» Àâ¾Æ¼ ¸µÅ©ÇÏ´Â °æ¿ì
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=euc-kr" /> <title>¹«Á¦ ¹®¼</title> <script language=javascript> function popup_img(url, width, height) { var opt = 'scrollbars=yes,width='+width+',height='+height+',top=0,left=0'; var win = window.open("","popup_img", opt ); win.document.write("<body topmargin='0' leftmargin='0'>"); win.document.write("<img Onclick='javascript:window.close();' style='margin-top:0;' src="+url+" width='"+width+"' height='"+height+"'>"); win.document.write("</body>"); } </script> </head> <body> <img src="http://¸µÅ©ÆÄÀÏID.linkfile.co.kr/test.jpg" width="¼ýÀÚ" height="¼ýÀÚ" border="0" usemap="#Map"> <map name="Map" id="Map"><area shape="rect" coords="¼±ÅÃÁÂÇ¥(¼ýÀÚ)" href="javascript:popup_img ('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','Æø(¼ýÀÚ)','³ôÀÌ(¼ýÀÚ)');"> <area shape="rect" coords="¼±ÅÃÁÂÇ¥(¼ýÀÚ)" href="javascript:popup_img ('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','Æø(¼ýÀÚ)','³ôÀÌ(¼ýÀÚ)');"> <area shape="rect" coords="¼±ÅÃÁÂÇ¥(¼ýÀÚ)" href="javascript:popup_img ('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','Æø(¼ýÀÚ)','³ôÀÌ(¼ýÀÚ)');"> <area shape="rect" coords="¼±ÅÃÁÂÇ¥(¼ýÀÚ)" href="javascript:popup_img ('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','Æø(¼ýÀÚ)','³ôÀÌ(¼ýÀÚ)');"> <area shape="rect" coords="¼±ÅÃÁÂÇ¥(¼ýÀÚ)" href="javascript:popup_img ('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','Æø(¼ýÀÚ)','³ôÀÌ(¼ýÀÚ)');"> <area shape="rect" coords="¼±ÅÃÁÂÇ¥(¼ýÀÚ)" href="javascript:popup_img ('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','Æø(¼ýÀÚ)','³ôÀÌ(¼ýÀÚ)');"> </map>
</body> </html>
2. °³º° À̹ÌÁö¿¡ ¸µÅ©¸¦ °É °æ¿ì
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=euc-kr" /> <title>¹«Á¦ ¹®¼</title> <script language=javascript> function popup_img(url, width, height) { var opt = 'scrollbars=yes,width='+width+',height='+height+',top=0,left=0'; var win = window.open("","popup_img", opt ); win.document.write("<body topmargin='0' leftmargin='0'>"); win.document.write("<img Onclick='javascript:window.close();' style='margin-top:0;' src="+url+" width='"+width+"' height='"+height+"'>"); win.document.write("</body>"); } </script> </head> <body> <a href="javascript:popup_img('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','¼ýÀÚ','¼ýÀÚ');"> <img src="http://¸µÅ©ÆÄÀÏid.linkfile.co.kr/test.JPG" border="0"><br> <a href="javascript:popup_img('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','¼ýÀÚ','¼ýÀÚ');"> <img src="http://¸µÅ©ÆÄÀÏid.linkfile.co.kr/test.JPG" border="0"><br> <a href="javascript:popup_img('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','¼ýÀÚ','¼ýÀÚ');"> <img src="http://¸µÅ©ÆÄÀÏid.linkfile.co.kr/test.JPG" border="0"><br> <a href="javascript:popup_img('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','¼ýÀÚ','¼ýÀÚ');"> <img src="http://¸µÅ©ÆÄÀÏid.linkfile.co.kr/test.JPG" border="0"><br> <a href="javascript:popup_img('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','¼ýÀÚ','¼ýÀÚ');"> <img src="http://¸µÅ©ÆÄÀÏid.linkfile.co.kr/test.JPG" border="0"><br> <a href="javascript:popup_img('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','¼ýÀÚ','¼ýÀÚ');"> <img src="http://¸µÅ©ÆÄÀÏid.linkfile.co.kr/test.JPG" border="0"><br> <a href="javascript:popup_img('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','¼ýÀÚ','¼ýÀÚ');"> <img src="http://¸µÅ©ÆÄÀÏid.linkfile.co.kr/test.JPG" border="0"><br> <a href="javascript:popup_img('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','¼ýÀÚ','¼ýÀÚ');"> <img src="http://¸µÅ©ÆÄÀÏid.linkfile.co.kr/test.JPG" border="0"><br> <a href="javascript:popup_img('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','¼ýÀÚ','¼ýÀÚ');"> <img src="http://¸µÅ©ÆÄÀÏid.linkfile.co.kr/test.JPG" border="0"><br> <a href="javascript:popup_img('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','¼ýÀÚ','¼ýÀÚ');"> <img src="http://¸µÅ©ÆÄÀÏid.linkfile.co.kr/test.JPG" border="0"><br> <a href="javascript:popup_img('ÆË¾÷À¸·Î ¶ã À̹ÌÁö°æ·Î.jpg','¼ýÀÚ','¼ýÀÚ');"> <img src="http://¸µÅ©ÆÄÀÏid.linkfile.co.kr/test.JPG" border="0">
</body> </html>
ÁÖÀÇÇÒ Á¡
1. À§ ¼Ò½º¸¦ ¸µÅ©ÆÄÀÏ ³» htmlÆíÁý±â¸¦ ÅëÇØ ÀúÀåÇϽðí, ÇÑ ÁÙ ¼Ò½º¸¦ º¹»çÇÏ¿© ¿Á¼ÇÀ̳ª G¸¶ÄÏ µîÀÇ ÆäÀÌÁö¿¡ ¸µÅ©ÇØ ÁÖ¼Å¾ß Á¤»óÀûÀ¸·Î º¸ÀÔ´Ï´Ù. ÇÑ ÁÙ ¼Ò½º¸¦ ÀÌ¿ëÇÏÁö ¾ÊÀ» °æ¿ì Á¦´ë·Î ÀÛµ¿µÇÁö ¾Ê½À´Ï´Ù. ÀúÀå½Ã ¹Ýµå½Ã Á¦¸ñ ¿À¸¥ÂÊ¿¡ ÀÖ´Â 'html Á÷Á¢ÀÔ·Â'¿¡ üũ ÈÄ ÀúÀåÇÏ¼Å¾ß ÇÕ´Ï´Ù!! 2. À§ ³»¿ëÀÌ ÀÌÇØ°¡ µÇÁö ¾ÊÀ¸½Ã¸é °í°´¼¾ÅÍ·Î ÀüÈ ¹®ÀÇÇØ Áֽñ⠹ٶø´Ï´Ù.^^ Ä£ÀýÈ÷ ¼³¸í µå¸®°Ú½À´Ï´Ù. 3. À§ ¼Ò½º¸¦ ¸µÅ©ÆÄÀÏ À̹ÌÁöÈ£½ºÆÃÀÇ ÀÌ¿ë ¸ñÀû ¿Ü ¹«´Ü µµ¿ë ¹× ¹ÝÃâÀ» ¾ö°ÝÈ÷ ±ÝÇÕ´Ï´Ù.
|