echo "<span onClick=\"window.open('noticedetail.php?noticesid=$noticeid','$noticetitle','width=500
height=300 fullscreen=0 channelmode=0 toolbar=0 menubar=0 scrollbars=0 left=0 top=0 resizable=0');\"
style='CURSOR: hand'><span>$noticetitle</span></span>"
height=300 fullscreen=0 channelmode=0 toolbar=0 menubar=0 scrollbars=0 left=0 top=0 resizable=0');\"
style='CURSOR: hand'><span>$noticetitle</span></span>"
....
?><span onClick="window.open('noticedetail.php?noticesid=<?php echo $noticeid;?>','<?php echo $noticetitle;?>','width=500 height=300 fullscreen=0 channelmode=0 toolbar=0 menubar=0 scrollbars=0 left=0 top=0 resizable=0')" style='CURSOR: hand'><span><?php echo $noticetitle;?></span></span><?php
....
?>
...
echo "<span onClick=\"window.open('noticedetail.php?noticesid=".$noticeid."','".$noticetitle."','width=500 height=300 fullscreen=0 channelmode=0 toolbar=0 menubar=0 scrollbars=0 left=0 top=0 resizable=0')\" style='CURSOR: hand'><span>".$noticetitle."</span></span>";
...
}
我是要执行它的功能,而不是显示它。
运行的结果如下:
<span
onClick="window.open('noticedetail.php?noticesid=5','','width=500 height=300 fullscreen=0 channelmode=0 toolbar=0 menubar=0 scrollbars=0 left=0 top=0 resizable=0')
style='CURSOR: hand'><span></span></span>
可无法实现它的功能啊?!