Availability: |
| |||
JavaScript syntax: | IE | myExternal.AddDesktopComponent(aURL, aType) | ||
IE | myExternal.AddDesktopComponent(aURL, aType, aLeft) | |||
IE | myExternal.AddDesktopComponent(aURL, aType, aLeft, aTop ) | |||
IE | myExternal.AddDesktopComponent(aURL, aType, aLeft, aTop, aWidth) | |||
IE | myExternal.AddDesktopComponent(aURL, aType, aLeft, aTop, aWidth, aHeight) | |||
Argument list: | aURL | The URL where the resource can be located | ||
aType | What kind of item is added to the desktop | |||
aLeft | Left edge position | |||
aTop | Top edge position | |||
aWidth | Size width | |||
aHeight | Size height |
This provides a way of customizing the underlying desktop with shortcuts and images.
You must always specify the URL value and the type indicator. The remaining option arguments describe the position and size of the item being placed on the desktop.
The type value must be one of:
image
website
This only works if you have the Active Desktop support installed. If it is not installed, this method does nothing.
//Add the Wrox web site as a desktop item window.external.AddDesktopComponent("http://www.wrox.com", "website", 100, 100, 200, 200);
Prev | Home | Next |
external.AddChannel() | Up | external.AddFavorite() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |