• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

Javascript "Click Here to Make This Your Homepage" in Internet Explorer 2007

I am trying to create a link for users to that will set their default homepage to my homepage (this is in an Intranet environment where management does not want to use GPO to force user's to have it as a homepage).

I've found several scripts online similiar to this one: http://javascript.internet.com/miscellaneous/set-home-page.html  but have not been able to find the code for IE 7 to choose the radial button that states use this webpage as your only homepage.

0
jbester
Asked:
jbester
  • 4
  • 2
1 Solution
 
Michel PlungjanIT ExpertCommented:
Not sure what you mean

You cannot do

<input type="radio" name="homepage"
onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.yourhomepage.com');"> Yourhomepage
<input type="radio" name="homepage"
onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.otherhomepage.com');">Otherhomepage

?
0
 
Michel PlungjanIT ExpertCommented:
Or did you not mean radio button?
0
 
jbesterAuthor Commented:
I guess I thought it was a radial button.  In IE 7 when you go to Homepage Icon and choose Add or Change Homepage it brings up a dialog box that states "Would you like to use the following as your homepage?"  Then there are two choices: "Use this webpage as your only home page" or "Add this webpage to your home page tabs."  I want to make sure that it "Use this webpage as your only home page is choosen."  Is there are way to do that with Javascript?
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
jbesterAuthor Commented:
My fault, I just read online that radial button is an improper term.  It is "radio button" as suggested.  I will correct my colleagues as I hear them misuse the term.
0
 
Michel PlungjanIT ExpertCommented:
No. You cannot script the browser's user settings.
0
 
Michel PlungjanIT ExpertCommented:
Why "B" ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now