Add Desktop Component
<html>
<head>
<script language="JavaScript">
function function1() {
window.external.AddDesktopComponent("http://www.java2s.com/style/logo.png",
"image", 150, 150, 95, 95);
}
</script>
</head>
<body>
<button onclick="function1();">Click here to add the new active desktop component
</button>
</body>
</html>
Related examples in the same category