Home » , » How to Make your website as user's Homepage

How to Make your website as user's Homepage

Unknown | 9:20 PM | 0 comments

You can put a link in you website if they click on it then your page will be their home page.



instructions:- 

1-copy the following code.
2-paste it inside the "<body>" tag.
3-that's it.
<script language="JavaScript">  
     <!-- Begin  
     // If it's Internet Explorer, use automatic link  
     // Be sure to change the "http://www.YourWebSiteHere.com\"  
     // to the URL you want them to bookmark.  
     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="5" color=6699FF face=arial><b>Click Here to Make My Web Page Your Homepage</B></font></a>');  
     }  
      
     // If it's Netscape 6, tell user to drag link onto Home button  
     // Be sure to change the "http://www.YourWebSiteHere.com\"  
     // to the URL you want them to bookmark.  
     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 it's Netscape 4 or lower, give instructions to set Home Page  
     else if (document.layers){  
       document.write('<b>Make this site your home page:</b>- Go to <b>Preferences</b> in the <b>Edit</B> Menu.- Choose <b>Navigator</b> from the list on the left.- Click on the <b>"Use Current Page"</b> button.');  
    }  
      
     // If it's any other browser, for which I don't know the specifications of home paging, display instructions  
     else {  
       document.write('<b>Make this site your home page:</b>- Go to <b>Preferences</b> in the <b>Edit</B> Menu.- Choose <b>Navigator</b> from the list on the left.- Click on the <b>"Use Current Page"</b> button.');}  
     //  End -->  
    </script>
Share this article :

0 comments:

Post a Comment

Notice : Spam Comments Will Be Deleted

 
Copyright © 2012. CodeSlot - All Rights Reserved
Template By Phoenix.Elmasry
Powered By Blogger