Example HTML Popup Window Code:
Code:
<script type="text/javascript">
// Popup window code
function newPopup(url) {
popupWindow = window.open(
url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
}
</script>
<a href="JavaScript:newPopup('http://forums.techarena.in/');">Open a popup window</a>
This example uses JavaScript code for the popup window. You can also open a new window using HTML code without JavaScript (although using the HTML method, you aren't able to specify how the window will look). To open a new window using HTML.
You can use the HTML code on this page to force a link to open in a new window.
Code:
<a href="http://forums.techarena.in/" target="_blank">HTML Help</a>
May this Help you...!
Bookmarks