window对象的()属性用来指定浏览器状态栏中显示的临时消息。
A. status
B. screen
C. history
D. document
在Window对象中,用于弹出一个确认对话框的是()方法。
A. alert()
B. confirm()
C. prompt()
D. showModalDialog()
制作网页上的浮动广告时,需要定义一个函数实现浮动广告层随滚动条滚动的效果,假如已经定义了一个名为move的函数,那么最后需要做的是()。
A. 捕获窗口的window.onscroll事件,调用move函数
B. 捕获文档的document.onscroll事件,调用move函数
C. 捕获窗口的window.onload事件,调用move函数
D. 捕获文档的document.onload事件,调用move函数
运行以下代码,弹出的对话框中显示的值是()。var a = 10;var b = 5;var c = 10/5;if(c == 0 || a > 5)confirm(c+"优秀");else if(c > 0 && a < 5)confirm(c+"一般");elseconfirm(c+"较差");
A. 2优秀
B. 0优秀
C. 2一般
D. 2较差