Results 1 to 3 of 3
Oct 20, 2005, 06:39 #1
how to set the current page as the home page in Firefox
I have a button in my site which when clicked, will set the current page to be the home page for the user.
I use the following code:
var hiddenLink = document.getElementById('dummyLink'); hiddenLink.style.behavior='url(#default#homepage)'; hiddenLink.setHomePage('http://www.123.com');
<a href="#" id="'dummyLink'" style="display:none"></a>
But I need to have a working solution for Firefox and Opera too.
Does anyone know how to solve this in these 2 browers?
If so, I would appreciate a solution
Oct 20, 2005, 11:34 #2
- Join Date
- Mar 2005
- 0 Post(s)
- 0 Thread(s)
Oct 21, 2005, 11:08 #3
Thanks Kravvitz, I will only support this feature for IE browsers then