Solved

Make a page the Home Page

Posted on 2000-04-14
3
178 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

948 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now