BOM编程

.goTop{

width:80px;

height:80px;

background:black;

position:fixed;

right:20px;

bottom:20px;

}







function moveByTest() {

moveBy(200,300)

}

function moveToTest() {

moveTo(200,300)

}

function openNew() {

window.open("http://www.baidu.com","","menubar=yes, fullscreen=yes, location=no, status=yes")

}

function goTop() {

window.scrollTo(0,0);

}

关闭浏览器


    挪动浏览器

打开一个新窗口

你可能感兴趣的:(BOM编程)