Add Desktop Component : window « Javascript Objects « JavaScript DHTML






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

1.Create a Popup window
2.Set Default Status Information
3.Execute Javascript
4.Hide a window
5.Is window Open
6.Windown screen Left
7.Navigate window to a URL
8.Move window By
9.Move window to
10.Clear Interval
11.Clear Timeout
12.Display confirm dialog
13.Define dialog arguments
14.Set the dialog window left
15.Set dialog window top
16.Set dialog window width
17.Set the dialog window height
18.Is window closed
19.Display an alert dialog
20.Close a window
21.'offScreenBuffering' Example
22.Open a new window and close it
23.Open a new Window
24.Print a window
25.Create a prompt
26.Window resize By
27.'screenTop' Example
28.Set Timeout (window.setTimeout)
29.Show a Popup
30.Show Help (window.showHelp('URL'))
31.Show Modal Dialog (window.showModalDialog('URL', myArguments, ''))
32.Window self
33.Show Modeless Dialog (window.showModelessDialog(..))
34.Display information in status (window.status)
35.Let window navigate to a URL (window.navigate('http://www.java2s.com'))
36.Show Browser UI
37.Handling Status Message Changes