|
|
| Baumeister Mediasoft Engineering |
|
|
|
The setHomePage() JavaScript function uses a DHTML behavior in Internet Explorer (version 5 or higher) to set the user's Homepage. setHomePage() can be applied to objects with the following style attribute:
setHomePage() expects a web address as argument. The following setHomePage() call uses the BME website address:
The following JavaScript statements can be used to set the Homepage address to the URL of the currently loaded web page:
A web browser compatibility check such as
is recommended since setHomePage() is only available in Internet Explorer (version 5 or higher). onclick() can be used to provide a clickable link to the setHomePage() function call. The following JavaScript code displays a link for setting the Homepage address to the URL of the currently loaded web page. The required
For security reasons, setHomePage() causes Internet Explorer to activate a confirmation dialog for changing the Homepage setting.
JavaScript Application: Set Internet Explorer Homepage (IE5) • © 2010 Manfred Baumeister • Updated: 29 October 2008, 14:15 [GMT] |
| Baumeister Mediasoft Engineering, Clontarf, Dublin 3, Ireland © 2010 Manfred Baumeister |
|