Solved

Make a page the Home Page

Posted on 2000-04-14
3
189 Views
Last Modified: 2013-12-25
Is there code available to allow a user to click on a button on a web page and have the current page become their home page. Please provide code and if possible cross-browser code.
0
Comment
Question by:JustinB
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
garfld earned 100 total points
ID: 2719205
Try this:

<a href="" onClick="this.style.behavior='url(#default#homepage)';
this.setHomePage('http://www.Yourpage.com/');"style="color:
blue; cursor: hand;">Click here to make Yourpage your
default homepage!</a>

Betsy
0
 
LVL 1

Author Comment

by:JustinB
ID: 2719950
Thanks, that is what I wanted.

Could you tell me if it works in both netscape and explorer and if you know what versions.

justinB@iinet.net.au
0
 
LVL 2

Expert Comment

by:garfld
ID: 2720523
Sorry, i don't know, you'll have to try it yourself.

Betsy
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question