|
Page Details >>>
Allow the visitor to set your site as their homepage with a link. This script works best in Internet Explorer, but also displays the appropriate information based on browser type.
Add the below code to the <body> section of your page:
<script
language="javascript"
type="text/javascript">
if
(document.all){
document.write('<A
HREF="javascript:history.go(0);" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.YourWebSiteHere.com\');">');
document.write('<font
size="3" color=6699FF face=arial><B>Click Here to Make My Web Page Your
Homepage</B></font></a>');
}
else
if
(document.getElementById){
document.write('<a
href="http://www.YourWebSiteHere.com">Drag this link onto your Home
button to make this your Home Page.</a>');
}
else
if
(document.layers){
document.write('<b>Make
this site your home page:</b><br>- Go to <b>Preferences</b> in the
<B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the
left.<br>- Click on the <b>"Use Current Page"</b> button.');
}
else
{
document.write('<b>Make
this site your home page:</b><br>- Go to <b>Preferences</b> in the
<B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the
left.<br>- Click on the <b>"Use Current Page"</b> button.');
}
</script>
|
|