2:25 pm Saturday, July 05, 2008


  Navigation
  Help?
Contact Aaron for all inquiries.
 

  News

ASP Inline Calendar 3.9 Beta 1
ASP Games
ASP Inline Corporate Calendar 3.8 BETA 1 Demo
Calendar Updates
 

A Better World By Design
 
 
AaronOutpost : ASP / Web Design / JavaScript / Set Web Page as Homepage

Set Web Page as Homepage
By: Aaron B. Copyright AaronOutpost.com

Example of Code:

 

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
// Set Webpage as Homepage
//
// Created By Aaron B.
// Copyright 2001-2004 AaronOutpost.com
//
// Be sure to change the "http://www.YourWebSiteHere.com\"


// If it's Internet Explorer, use automatic link

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="2" color=000000 face=arial><B>Click Here to Make My Webpage Your Homepage</B></font></a>');
}


// If Netscape 6, drag link onto Home button

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>');
}


// If Netscape 4 or lower, give instructions to set Home Page

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.');
}


// If any other browser

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.');
}
// End -->
</script>


Aaron Outpost West Virginia, USA A Mark of _-Squire-_ Creations Inc.  CopyrightŠ 2005 All Rights Reserved

 


AaronOutpost : ASP / Web Design / JavaScript / Set Web Page as Homepage