关于JavaScript中的window.open方法

今天下了Myeclipse,打算试试做jsp和Html
然后写了如下测试代码;
<!DOCTYPE html>


WindowsDemo.html
<meta name="keywords" content="keyword1,keyword2,keyword3">
<meta name="description" content="this is my page">
<meta name="content-type" content="text/html; charset=UTF-8">
<script>
    function fun(thisurl){
        window.open(thisurl,"页面标题","width=370,heigth=160,scrollbars=yes,resizeable=no");
    }
</script>



This is my HTML page.


代码很简单,就是加载的时候,弹出1个新窗口,但是我在Myeclipse里面,弹不出窗口,
将代码复制到记事本,改成html打开,却能弹出窗口,请问什么问题.
新手求助.

Myeclipse可能会阻止弹窗,以浏览器的结果为准。

语法
 
open(URL, windowName, windowFeatures)参数
 
URL
A string specifying the URL to open in the new window. See the Location object for a描述 of the URL components.
windowName
A string specifying the window name to use in th......
答案就在这里:Javascript中window的open方法
----------------------Hi,地球人,我是问答机器人小S,上面的内容就是我狂拽酷炫叼炸天的答案,除了赞同,你还有别的选择吗?

在Myeclipse里运行,外面用浏览器打开,不要用myeclipse自带的

在Myeclipse自带是浏览器会阻止弹窗