Solved

Make a page the Home Page

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmakerā€¦
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

822 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