|
Make your Web Page the Clients Home Page using Java
(Changing a Clients home Page through Java) Here is a simple example on how to use Java to change a Clients Home Page as listed in his Browser. This is done through Java and thus might not work on all browsers.
Note: Because Java is executed by the client browser, it does increase risk of browser incompatibility.
Logic Flow:
The web page MyPage.asp loads A link is displayed that says
"Make Memo wil@keo your Home Page"
<A
href
=
"javascript:"
onclick
=
"this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.oocities.org/wilkeo');"
onmouseout
=
"window.status='';return true"
onmouseover
=
"window.status='Make "Memo wil@keo" your default HomePage';return true"
>
Make Memo wil@keo your Home Page
</A>
The client clicks on the link and JavaScript included in the HTML changes their home page to Memo wil@keo.
|
|