How can I open an applet in a new window when a web page is opened, vs. in the main window?

ramanujam ragavan

You can use JavaScript and use the window.open() method to open a secondary page containing the Applet.
The code looks something like this.

<html>
<head><title></title>
<script language = "JavaScript>

function show() //you can give any name
{
var win;
win=window.open("urpage.html","title");
}

</script>
</head>
<body onload ="show()">
Your HTML HERE
</body>
</html>
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact