Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Make a page the Home Page

Posted on 2000-04-14
3
Medium Priority
?
210 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 400 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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month15 days, 21 hours left to enroll

581 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