ȸ¿ø°¡ÀԡžÆÀ̵ð/ºñ¹øã±â
ȨÀ¸·Î


target(href) Ÿ°Ù»ç¿ë¹ý
13³â Àü
target(href) Ÿ°Ù»ç¿ë¹ý




ÇÁ·¹ÀÓÀ» ¾²½Ç¶§ »ý°¢ÇÒ °Í ¼¼°¡Áö
1. frame_name.location = 'url.php';
¶Ç´Â frame_name.location.href = 'url.php';
¶Ç´Â frame_name.location.replace('url.php')
2. parent.frame_name.location = 'url.php';
3. opener.parent.frame_name.location = 'url.php';



»õâÀ» ¿­°ÔÇØÁØ Ã¢ÀÇ ÁÖ¼Ò¸¦ ¹Ù²Ù°í »õâÀ» ²ö´Ù.
<script>
opener.location.href = 'url.php';
self.close();
</script>



»õâÀ» ¿­°ÔÇØÁØ Ã¢ÀÇ ÁÖ¼Ò¸¦ »õ·Î°íħÇÏ°í »õâÀ» ²ö´Ù
<script>
opener.location.reload();
self.close();
</script>



´Ù¸¥ ÇÁ·¡ÀÓÀÇ ÁÖ¼Ò¸¦ ¹Ù²Ù°Ô ÇÏ·Á¸é
<script>
frame_name.location.href = 'url.php';
</script>



ÇÁ·¡ÀÓ ±¸Á¶»ó »óÀ§ ÇÁ·¡ÀÓÀÇ ÁÖ¼Ò¸¦ ¹Ù²Ù°Ô ÇÏ·Á¸é
<script>
parent.location.href = 'url.php';
</script>



Ÿ°ÙÀÌ ÁöÁ¤µÈ ÇÁ·¹ÀÓÀ» ¹Ù²Û´Ù.(Ÿ°ÙÇϳª)
<script>
parent.target(Ÿ°Ù).location.href = 'url.php';
</script>



Ÿ°ÙÀÌ ÁöÁ¤µÈ ÇÁ·¹ÀÓÀ» ¹Ù²Û´Ù.(Ÿ°ÙµÑ)
<script>
parent.target1(Ÿ°Ù1).location.href = 'url1.php';
parent.target2(Ÿ°Ù2).location.href = 'url2.php';
</script>



Ÿ°ÙÀÌ ÁöÁ¤µÈ ÇÁ·¹ÀÓÀ» ¹Ù²Û´Ù.(Ÿ°Ù¼Â)
<script>
parent.target1(Ÿ°Ù1).location.href = 'url1.php';
parent.target2(Ÿ°Ù2).location.href = 'url2.php';
parent.target3(Ÿ°Ù3).location.href = 'url3.php';
</script>



Ÿ°ÙÀÌ ÁöÁ¤µÈ ÇÁ·¹Àӵΰ³¸¦ Ŭ¸¯À¸·Î ¹Ù²Ù·Á¸é
<script>
function target_frame(url1, url2)
{
parent.top_frame.location.href = url1;
parent.main_frame.location.href = url2;
}
</script>
<a href="javascript:target_frame('main_menu.html', '$go_url');"> È®ÀÎ </a>



·Î±×ÀÎÆäÀÌÁö ¿¡¼±
<script>
parent.top_frame.location.href = '../main.html'; //main.html´Â ·Î±×ÀÎÆäÀÌÁö º¸´Ù »óÀ§µð·ºÅ丮¿¡ ÀÖ´Ù.
parent.main_frame.location.href = '$go_url';
</script>



·Î±×ÀÎÆäÀÌÁö¸¦ »õâÀ¸·Î ¶ç¿ü´Ù¸é
<script>
opener.parent.top_frame.location.href = '../main.html';
opener.parent.main_frame.location.href = '$go_url';
self.close();
</script>


ÀÌ»óÀÔ´Ï´Ù. by.crabz


-------------------------------------
<script>
top.frames['calendar'].location.reload();
</script>
--------------------------------------------------
<a href="page.htm" target="_top">

top.location.href = 'page.htm';
--------------------------------------------------
<a href="page.htm" target="_self">

self.location.href = 'page.htm';
--------------------------------------------------
<a href="page.htm" target="_parent">

parent.location.href = 'page.htm';
--------------------------------------------------
<a href="page.htm" target="thatframe">

top.frames['thatframe'].location.href = 'page.htm';
--------------------------------------------------
<a href="page.htm" target="thatframe">

self.frames['thatframe'].location.href = 'page.htm';
--------------------------------------------------
ÃßõÃßõ : 375 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
84
input ÀÔ·Â ÇÊµå ¾ÕµÚ °ø¹é ½Ç½Ã°£ Á¦°Å
83
Placeholder Æ÷Ä¿½º½Ã °¨Ãß±â
82
[ transition ] ¸µÅ© hover »ö»ó º¯È­ ¼Óµµ Á¶Àý
81
CSS Hover ¸¦ ÀÌ¿ëÇÑ ±ò²ûÇÑ ÆäÀÌ¡
80
½ºÅ©·ÑÇصµ »ó´Ü¿¡ °íÁ¤µÇ´Â ¸Þ´º ¸¸µé±â
79
[jQuery] jQuery fadeIn(), fadeOut(), fadeToggle(), fadeTo() ÀÌÇØÇϱâ
78
¼îÇθô »óÇ°Å×ÀÌºí ·Ñ¸µ
77
Input ÇѱÛ/¿µ¾î Á¦¾îÇϱâ
76
Äü¸Þ´º
75
div ű׿¡ ½ºÅ©·Ñ¹Ù(Scroll Bar) ºÙÀ̱â
74
CSS HackÀ» »ç¿ëÇÏ¿© ȣȯ¼º ¹®Á¦¸¦ ÇØ°á
73
ÀÚ¹Ù½ºÅ©¸³À¸·Î Ç÷¡½¬ ¸Þ´ºÃ³·³...
72
input ¹Ú½º¿¡ ¾È³»¹®±¸ ³ªÅ¸³»±â
71
input textarea Æ÷Ä¿½º½Ã È¿°úÁÖ±â À̹ÌÁö
70
¹®Àå¿¡¼­ ƯÁ¤´Ü¾î¿¡ È¿°úÁֱ⸶½ºÅÍ
69
x ÃÊÈÄ ³ªÅ¸³ª´Â ·¹À̾î...
68
meta È­¸éÀÌÆåÆ®
67
¿øŬ¸¯À¸·Î ¼¼°³ÀÇ iframe¿¡ ¸µÅ© È£ÃâÇϱâ
66
Ä«¿îÆ®´Ù¿î ÈÄ Æ¯Á¤ ÆäÀÌÁö·Î À̵¿ÇÕ´Ï´Ù
65
·Ñ¿À¹ö ¹öÆ° ½ºÅ©¸³Æ®
64
¹öÆ° Ŭ¸¯½Ã ¿­¸®´Â ·¹À̾î Æ˾÷ À̵¿°¡´ÉÇÑ ·¹ÀÌ¾î ¸¸µé±â
63
Á¿ìÃø Àç»ý Á¦¾îµÇ´Â ÀÚ¹Ù½ºÅ©¸³Æ® ¸¶Äû(marquee) ¼Ò½º
62
<blink> ÅÂ±× ±¸Çö
61
·Ñ¿À¹ö, ÀÚµ¿ À̵¿ ·¹À̾î
60
À̹ÌÁö ·Ñ¸µ
59
³×À̹ö ÄÞº¸½ºÅ¸ÀÏ ¸Þ´º
58
HTML°ú ÀÚ¹Ù½ºÅ©¸³Æ®¿¡¼­ ½ºÅ¸ÀϽÃÆ® ¼Ó¼º
57
CDATA ¼½¼Ç[XML Ç¥ÁØ]
56
textfield Å©±â¿¡ ¸Â°Ô ÅøÆÁ(tooltip) º¸¿©ÁÖ´Â ·¹À̾î
55
À¥ÆäÀÌÁö À̵¿ ¹æ¹ý
123
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æħ
Copyright ¨Ï musictrot All rights reserved.