下面的javacript函数什么意思啊?

gooyan 2003-08-30 01:41:08
window.scrollBy(2,0);
window.scrollTo(0,40);
setTimeout("scroll_img()",0);
其中scroll_img是个自定义函数
上面的函数中参数什么意思?
...全文
52 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
okodoov 2003-08-30
  • 打赏
  • 举报
回复
scrollBy(x,y):
Causes the window to scroll relative to the current scrolled position by the specified x- and y-pixel offset.

scrollTo(x,y):
Scrolls the window to the specified x- and y-offset.

setTimeOut(expression,milliseconds):
Evaluates an expression after a specified number of milliseconds has elapsed.

87,904

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧