'AddDesktopComponent()' Example : AddDesktopComponent « Javascript Methods « JavaScript Reference

'AddDesktopComponent()' Example

    
<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

1.'AddDesktopComponent()' Syntax, Parameters and Note
2.'AddDesktopComponent()' is applied to