I am creating a Web application that with one of the links on the default.aspx page I am using javascript to open the window and limit the size and scroll bar and so on. The script itself is working with one small bug. The default.aspx window goes blank, this is something that I do not wish to happen. Below is the script that I am using
<head>
<script type="text/javascript">
function openNewWindow(newPageURL) {
window.open(newPageURL, "_blank", "height=500px width=500px " +
"resizable=no scrollbars=no menubar=no location=no status=no");
}
</script>
</head>
<br /> Please read our <a href="http://fa-iwp-01.macomb.edu/asmarl/itwp2300/MichiganTalentBank/employer.aspx" onclick="javascript:openNewWindow('/asmarl/itwp2300/MichiganTalentBank/policy.aspx');"><b><u>Privacy Policy</u></b> </a>
Thanks in advance for your time and help,