I know pop-up windows are great and everything and everyone loves them, but I truly am trying to get my javascript to work cross-browsers.
Firefox loves my code -- internet explorer hates it.
Below is the code I am trying to make happen.
<script language="javascript">
<!--//
function popUp(url,windowName,w,h,x,y) {
newWindow = window.open(url, windowName, "directories=0,location=0,resizable=1,scrollbars=0,status=0,toolbar=0,width="+w+",height="+h+",top="+y+",left="+x);
newWindow.focus();
}
//-->
</script>
<a href="javascript:popUp('pictures/profiles/1.jpg','Christopher Winslett',400,400,20,20)"><img src='resize.php?location=pictures/profiles/1.jpg&max=250;'></a>
Any suggestions?
Chris