Make This Site as Home Page Button using Java script

Make This Site as Home Page Button using Java script

We can provide an option for visitors to make our site as Home Page.

This JavaScript code will enable to place a button on our site that, when clicked on, will make our web site visitors home page.

We can place the following code at any place where we would display the button.

<FORM>
<INPUT TYPE=”button” VALUE=”Make This Site Your Home Page” onClick=”this.style.behavior=’url(#default#homepage)’; this.setHomePage(’Page URL beginning with http:// here’);”>
</FORM>

Leave a Reply

You must be logged in to post a comment.


All material @ copyrighted by chrisranjana.com. If you want to link to this article you are welcome to do so. Unauthorized publication is strictly prohibited. This developer tutorial website contains articles by Php programmers , Software developers, Mysql programmers and asp c# programmers. This website also contains ajax tutorials and advanced mysql sql stored procedures and functions tutorials and sample codes.