代码搜索结果
找到约 89,667 项符合
JavaScript 的代码
5-5.htm
function movepic(img_name,img_src) {
document[img_name].src=img_src;
}
5-14.htm
function click() { if (event.button==2)
{alert('*^_^对不起,右键已被屏蔽!*'); } } document.onmousedown=click
xxx.htm
将站点加入收藏夹
function bookmarkit()
{
window.external.addFavorite('http://www.xueyuna.com','学院网站')
}
8-10.htm
if (window.print) {
document.write('不要忘了'
+ '本页!
8-19.htm
function moveWin()
{
for (var i = 1; i < 1001; i++)
window.moveBy(-1000, -1000);
}
8-9.htm
bg = new Array(2); //设定图片数量,如果图片数为3,这个参数就设为2,依次类推
bg[0] = '07.jpg' //显示的图片路径,可用http://
bg[1] = '06.jpg'
bg[2] = '05.jpg'
index = Math.floor(Math.random() * bg.leng
8-12.htm
function ask()
{
var enter=prompt("你有三种选择:输入1得到更多信息. 输入2打开页面.输入3则发信给作者!"," ");
var yes = 1
if (enter == 1)
{
alert('欢迎光临javascript
8-16.htm
loopy()
function loopy() {
var sWord =""
while (sWord != "123") {
6-13.htm
#moveobj {position: relative;
}
//定义函数moveit;
function moveit(){
moveTop = document.forms[0].elements[0].value;
moveLe