homePage ºñÇìÀ̹ö ¿©·¯°¡Áö ¼Ó¼º ¿¹Á¦



homePage ºñÇìÀ̹ö¸¦ »ç¿ëÇÏ¿© »ç¿ëÀÚÀÇ È¨ÆäÀÌÁö¸¦ ¼³Á¤ÇÏ°í, Á¡°ËÇÏ°í, Ç×ÇØÇÑ´Ù. setHomePage ¸Þ¼­µå·Î ÁöÁ¤ÇÏ´Â ÁÖ¼Ò´Â Àý´ëÁÖ¼ÒÀ̾î¾ßÇÑ´Ù.

<HTML XMLNS:IE>
<HEAD>
<STYLE>@media all { IE\:homePage {behavior:url(#default#homepage)}}</STYLE>
<SCRIPT>
function doVerify(){
 bSame = oHomePage.isHomePage(oHomeHref.value);
 alert(bSame);
 event.returnValue = false;
}
function doGoto(){
 oHomePage.navigateHomePage();
 event.returnValue=false;
}
function doSet(){
 oHomePage.setHomePage(oHomeHref.value);
 event.returnValue = false;
}
</SCRIPT>
</HEAD>
<BODY>
<DIV style=padding:0>
<INPUT type=text id="oHomeHref" style="color:blue" value="http://koxo.com/lang/js/behavior/exp/xhomepage.html" size=60 />
<BR />
<INPUT type=button value="ȨÆäÀÌÁöÀΰ¡ Á¡°Ë" onclick="doVerify()" />
<INPUT type=button value="ȨÆäÀÌÁö·Î ¼³Á¤" onclick="doSet()" />
<INPUT type=button value="ȨÆäÀÌÁö·Î Ç×ÇØ" onclick="doGoto()" /><BR />
<INPUT type=text id="anotherHref" value="http://www.samah.co.kr/pub/samahpersonal.html" size=60 />
<INPUT type=button value="ÀÌ ÁÖ¼Ò Ã¤ÅÃ" onclick="id=oHomeHref.value=anotherHref.value" />
<INPUT type=button value="´Ù½Ã" onclick="oHomeHref.value='http://koxo.com/lang/js/behavior/exp/xhomepage.html'" />
</DIV>
</BODY>
</HTML>