How To Make Your Website As User's Homepage
Submitted by alpha_luna on Wednesday, May 18, 2016 - 11:33.
Make Your Website as User's Homepage
In this tutorial, we are going to learn on How To Make Your Website As User's Homepage. You can edit the source code to put your website link, or you can drag your link to the home button to make your website as your home page. Let's start with: This is the source code:- <div style="margin: auto; width: 355px; text-align: center;">
- <br />
- <br />
- <br />
- <script language="JavaScript">
- if (document.all){
- document.write('<a href="javascript:history.go(0);" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.sourcecodester.com/\');">');
- document.write('<font size="5" 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.sourcecodester.com/" style="color:red; font-size:larger; font-family:cursive;">Drag and Drop your website link 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>Controller</b> from the list on the left.<br>- Click on the <b>"Use This 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>Controller</b> from the list on the left.<br>- Click on the <b>"Use This Page"</b> button.');
- }
- </script>
- <br />
- <br />
- <br />
- <a target="_blank" href="http://www.sourcecodester.com/" style="text-decoration: none">
- <span style="font-size:larger;">Free Source Code In Sourcecodester.com</span>
- </a>
- </div>
Output:

Add new comment
- 33 views