faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

32 of 36 people (89%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

How can I create a "Make this my HomePage" button on my site?

May 16th, 2000 23:36
unknown unknown, aspfreeforall


<html XMLNS:IE>
<head><style>
@media all {
   IE\:homePage {behavior:url("#default#homepage")}
}
</style>

<script>
function fnSet(){
        oHomePage.setHomePage(oHomeHref.value);
        event.returnValue = false;
}
</script>

<title>whatever</title>

</head>
<body>
<ie:homepage ID="oHomePage" />
<input TYPE="hidden" ID="oHomeHref" VALUE="http://www.mydomain.com">
<input TYPE="button" VALUE="Make myDomain My Default Page"
onclick="fnSet()">
</body>



© 1999-2004 Synop Pty Ltd