//var mywin=window.open("http://www.imooc.com");
刚刚学习的注释忘了?
刚刚学习的注释忘了?
2015-04-24
Hi , I find a bug here .
The text in demo , for ' mychar.style.fontSize = "30px";'
It must apply 'px' to '30' in the end , or It can't be changed.
The text in demo , for ' mychar.style.fontSize = "30px";'
It must apply 'px' to '30' in the end , or It can't be changed.
2015-04-22
function openWindow() {
var opennew=confirm("是否打开新页面");
if(opennew==true)
{
window.open(prompt("输入网址","http://www.imooc.com"),'_blank','width=300,height=200,menubar=no,toolbar=no, status=no,scrollbars=yes');
}
else{}
}
var opennew=confirm("是否打开新页面");
if(opennew==true)
{
window.open(prompt("输入网址","http://www.imooc.com"),'_blank','width=300,height=200,menubar=no,toolbar=no, status=no,scrollbars=yes');
}
else{}
}
document.getElementById("con").hidden= true;
document.getElementById("con").hidden= false;
document.getElementById("con").hidden= false;
2015-04-19