IE9 problems when showing a pop up window

I realized a simply program with PHP and MySQL. This program works fine and without problems with: Google Chrome, Firefox, Safari and Opera.

With IE9 i have a strange behaviour that I, honestly, do not know how to call it..

When I click an icon that should open a popup window, the main window (parent window?) disappears showing the content dir of the program instead of showing the page.. that's a very strange behaviour.. Here an image:

http://www.os4games.it/immagini/ie.png

here the javascript code for the popup window included into "function.js" :

$html .= "<td class='click_1'><SCRIPT TYPE='text/javascript'
src='../../t6/js/function.js'></SCRIPT>
<a href='' onClick='edit_day($row[id])'>
<img src='../../t6/icons/mod.png' title='Modifica Giorno'></a></td>";

function edit_day(id) {
   var url = '../../t6/include/edit_day.php?id='
   + id;
   var style = 'width=300,height=500';
   window.open(url, "Modifica Giorno", style); return false; }
链接地址: http://www.djcxy.com/p/89930.html

上一篇: Kendo Ui DatePicker无法在IE中选择日期

下一篇: 显示弹出式窗口时出现IE9问题