How would you make a link that allows viewers to simply click it and change their browser's default homepage to your site (or whatever site you specify). Is there a way to do this that works for all browsers (or at least IE and Netscape)?
Thanks in advance.
You would use javascript for that.
I can't give you the code off the top of my head, but I know it is at http://www.javascript.com/ Also you might want to look at http://builder.com/
Good luck!
------------------
http://redrival.com/trcfreebies/
Get more hits, for free!
Here is what you are looking for:
javascript :startPage();
------------------
Methven Online - www.methven.org.uk
Subtle Measures - www.subtle-measures.co.uk
SitePoint Enthusiast
you could also do this, which works in both NS/IE right down to v3 of each I believe:
<CODE><a style="cursor:hand" href onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('Your Homepage')">
Homepage</a></div></CODE>
The problem I face is, trying to get it to autoset the homepage, without prompting the user when they click the Homepage button.
Hell.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks