问答详情
源自:2-5 JavaScript-打开新窗口(window.open)

大神们,新手小白求教~

function Wopen(){    var mymessage= confirm("确定一秒拥有潮流文艺范儿?");    if(mymessage==true)    {         window.open('https://shop391176800.taobao.com','_blank','width=1366,height=768,menubar=yes,toolbar=yes, status=yes,scrollbars=yes') ;    }    else    {        alert("打开失败!");    }    }

提问者:郑恺 2017-03-27 12:07

个回答

  • 小马哥
    2017-03-27 13:27:38
    已采纳

    看了下你的代码和逻辑没有问题,设计的推广思路不错。