I’m using a simple javascript to pop a new window when a user clicks certain links, but it fails to perform in IE... is it because when IE sees the fully domain, it thinks it’s a different server? Or is it because the name of the window contains a dash? If it’s due to me passing the new target via the [~123~] pragma... is there a good way to strip off the server name?
<script type="text/javascript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<a onclick="MM_openBrWindow('[~123~]','','scrollbars=yes,width=1019,height=740')">
http://msdn.microsoft.com/en-us/library/ms536651(VS.85).aspx