<HTML XMLNS:IE> <HEAD> <STYLE>@media all{ IE\:homePage {behavior:url(#default#homepage)}}</STYLE> <SCRIPT> function checkHome(){ bSame=oHomePage.isHomePage(homeUrl.value); str='bSame=oHomePage.isHomePage(homeUrl.value)=<FONT color=red>'+bSame+'</FONT><BR>'; str+='homeUrl.value='+homeUrl.value+'<BR>'; str+='oHomePage.attributes.length=<FONT color=red>'+oHomePage.attributes.length+'</FONT><BR>'; for (i=0;i< oHomePage.attributes.length;i++){ if ((oHomePage.attributes[i].value!='null')&&(oHomePage.attributes[i].value!='')) str+=i+'] '+oHomePage.attributes[i].name+'=['+oHomePage.attributes[i].value+']<BR>'; } showA.innerHTML=str; event.returnValue=false; } function goHome(){ oHomePage.navigateHomePage(); event.returnValue=false; } function setHome(){ oHomePage.setHomePage(homeUrl.value); event.returnValue=false; } </SCRIPT> </HEAD> <BODY> <IE:homePage id="oHomePage" /> <INPUT type=text id="homeUrl" size=40 value="http://koxo.com/lang/js/behavior/exp/xhomepage.html"> <INPUT type=button value="°ËÁ¤" onclick="checkHome()"> <INPUT type=button value="¼³Á¤" onclick="setHome()"> <INPUT type=button value="Ç×ÇØ" onclick="goHome()"> <DIV id=showA></DIV> </BODY> </HTML> |