Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to set as home page

Status
Not open for further replies.

webbie

MIS
Mar 11, 2001
4
BE
I'm looking for the javascript that allows a user to click a link and their browser is automatically configured to set that page as their home page. Anyone know how to do this? Thanks:)
 
depends on the browser I would think, I've never found any javascript or sites that could do that, but rather they would say &quot;Press So and So to set this as your homepage&quot; so there isnt any scripting I can think of to do it automatically (wouldnt that be scary, to have some site set a porno url as my homepage) :) [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
Works for me, click that link it has, and say yes, then goto Tools...Internet Options, you'll see it set as your homepage, if you are trying to do that in Netscape not sure if that'll work. [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
You are right. It does work, but only on IE 5.0 on a PC. I was trying it on a Mac. Guess I won't be using this one. Thanks again for the help!
 
since you use a mac, let me ask you a question, when is mac going to be as W3C compliant as most PC browsers? ( I ask this because alot of mac users are complaining about online support, and W3C told them to become more and they'll get support in that sense ) [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
Oh, now you are going to find out just how un-technical I am! I have always been under the impression that it is the browsers they design for the Mac that are not up to par and not actually the computers themselves. I'm going to consult with a co-worker about your question and see what else I can come up with.

Peggy Schindler
 
well it's kinda of funny tho, because I wouldnt expect a computer to be the problem, it would be the browser fault, but I also heard that it's all the browsers made for mac arnt &quot;upto par&quot; hehe, I was just curious, you dont have to go thru troble to find out. [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
Actually, this can be done in IE5 (not sure if it works on the Mac, though)
Code:
<A HREF=&quot;&quot; onClick=&quot;this.style.behavior='url(#default#homepage)'; this.setHomePage('[URL unfurl="true"]http://www.Yoursite.com');&quot;[/URL] STYLE=&quot;color: #FFFF00; cursor: hand;&quot;>Click here to make YourSite your default homepage!</A>
[sig]<p>nick bulka<br><a href=mailto: > </a><br><a href= </a><br>Get your technical books at Bulka's Books<br>
[/sig]
 
Nick, thats the exact same code he's already posted in that URL [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top