Link to home
Start Free TrialLog in
Avatar of SetHomePage
SetHomePage

asked on

Set Home Page Prompt...

I need this script to be used with a cookie so that it only happens once, but I don't know how to build or use cookies please if oyu know a script that works that does this set hom epage to my page prompt or if you can update my script I would really be appreciated, Thanks!

<HTML XMLNS:IE>
<head>

<STYLE>
@media All
{
IE\:HOMEPAGE {BEHAVIOR: url(#default#homepage)}
}
</STYLE>
<SCRIPT language=JavaScript type="text/javascript">
function fnSet(){
oHomePage.setHomePage(oHomeHref.value);
event.returnValue = false;
}
</SCRIPT>
</HEAD>

<BODY onload="fnSet();">
<IE:HOMEPAGE id=oHomePage></IE:HOMEPAGE>
<INPUT id=oHomeHref type=hidden value="http://www.hotmail.com">



</body>
</html>
ASKER CERTIFIED SOLUTION
Avatar of neongrau
neongrau

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jaysolomon
jaysolomon

*******************************************************
******PLEASE DO NOT ACCEPT THIS COMMENT AS ANSWER******
*******************************************************
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area:
RECOMMENDATION:

 - [Points To neongrau Grade A]

Please leave any comments here within the next seven days.
*******************************************************
******PLEASE DO NOT ACCEPT THIS COMMENT AS ANSWER******
*******************************************************

jAy
EE Cleanup Volunteer