this is really simple but really has me frustrated
i've created a very simple script for a pop-up window: (it is actually generated by PHP but this is the output)
Code:
<script type="text/javascript" language="javascript">
<!--
function create_window()
{
popup_window = window.open("./comments.php?post_id=1", "Add a comment", "location=no, scrollbars=yes, menubars=no, toolbars=no, resizable=yes, width=400, left=100, top=50");
popup_window.focus();
}
//-->
</script>
and here's the code for the link that calls it:
Code:
<a href="javascript:create_window()" title="view or add comments for this article">Comments</a>
really simple ain't it? in fact on the platform i was testing on (Mozilla on a Red Hat 9) it worked perfectly. BUT when i tested it on IE 6.x the window just refuses to appear! AND the frustrating part is other website's pop-up windows seem to be working ok! am i missing something? i'm really at a lost. >
thanks in advance. 
|