Open Popup Window
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript">
<!--
function openWindow()
{
// The complete url to the html page you want to open
var streamUrl = "http://jasp-costin.blogspot.com";
var popUpWindow;
// For this popup title: use only one word (e.g "Title").
// Do not split your title like this (e.g "My Title") or you'll get an exception
var windowTitle = "EasyWebDevelopment";
// Manage your page features
// 0 = false; 1 = true
var features = "width=520, height=228, menubar=1, toolbar=0, location=0,
status=1, scrollbars=1, resizable=1";
popUpWindow = window.open(streamUrl, windowTitle, features);
popUpWindow.focus();
}
//-->
</script>
</head>
<body>
<span id="Span1" onclick="openWindow();" style="cursor: hand;">Open pop-up
window</span>
</body>
</html>
No comments:
Post a Comment