【判断题】【消耗次数:1】
制作网页上的浮动广告时,需要定义一个函数实现浮动广告层随滚动条滚动的效果,假如已经定义好了这个名为move的函数,那么最后需要做的是捕获窗口的window.onscroll事件,调用move函数。
正确
错误
参考答案:
复制
纠错
相关题目
【单选题】 定义一个void型函数意味着调用该函数时,函数(  )。
①  通过return返回一个用户所希望的函数值
②  返回一个系统默认值
③  没有返回值
④  返回一个不确定的值
【单选题】 单击滚动条的滚动箭头时,产生的事件是( )。
①  Click事件
②  Scroll事件
③  Move事件
④  Change事件
【判断题】 定义函数时,一个函数内不能再定义另一个函数。
①  正确
②  错误
【单选题】 在HTML中,DIV默认样式下是不带滚动条的,若要使标签出现滚动条,需要为该标签定义(????)样式。
①  overflow:hidden;
②  display:block;
③  overflow:scroll;
④  display:scroll;
【单选题】 在HTML中,DIV默认样式下是不带滚动条的,若要使div标签出现滚动条,需要为该标签定义(????)样式。
①  overflow:hidden;
②  display:block;
③  overflow:scroll;
④  display:scroll;
【简答题】 滚动条响应的重要事件有[填空]和Change,滚动条产生Change事件是因为滚动条的[填空]属性值改变了。
【判断题】 在Windows 中,当改变窗口的大小,使窗口中的内容显示不下时,窗口中会自动出现垂直滚动条或水平滚动条。
①  正确
②  错误
【判断题】 函数定义在函数调用之后时,必须对函数进行声明后方可调用。
①  正确
②  错误
【单选题】 若调用一个函数,且此函数中没有RERURN语句,则关于该函数正确的说法是()
①  有返回值
②  回若干个系统默认值
③  能返回一个用户所希望的函数值
④  返回一个不确定的值
【单选题】 ()能正确定义一个指向函数的指针。
①  int*p()
②  int(*p)()
③  (int*)p()
④  int(*p())
随机题目
【单选题】 ____ the front door ____, he had to enter the room through the back door.
①  Seen; painted
②  Seeing; painted
③  Being seen; being painted
④  Seeing; being painted
【单选题】 When he was a boy, he used to go there and watch ____.
①  to repair bicycles
②  bicycles to be repaired
③  bicycles being repaired
④  repairing bicycles
【单选题】 —Have you considered ____ your job as a teacher? —Yes. I like the job because a teacher is often considered a gardener.
①  ?to change; to be
②  ?to change; being
③  ?changing; being
④  ?changing; to be
【单选题】 Every one of you is looking forward ___ getting a good result. Better think carefully before writing down your answers. Wish you success!
①  ?on
②  ? in
③  ?to
④  ? of
【单选题】 Taiwan is ___ the southeast of China.
①  to
②  on
③  in
④  of
【单选题】 — I hear ___ your grandpa ___ your grandma like watching Min Opera. — Right, just as many old people do in Fuzhou.
①  ?both; and
②  ?either; or
③  neither; nor
④  ?not only; but also
【单选题】 Many teenagers have hobbies. But sometimes these hobbies can get ___ of schoolwork.
①  ?on the way
②  ?in the way
③  ? by the way
④  ?out of the way
【单选题】 I ___ go to bed until I ___ finished my work last night.
①  don’t; had
②  didn’t; have
③  didn’t; had
④  don’t; have
【单选题】 —Look, someone is coming. Guess who it ___ be?—I think it ___ be Tom.—I don’t think it ___ be ___.
①  ?must; can; must; his
②  ?may; can; must; him
③  ?can; must; can; him
④  ?might; must; can; himself
【单选题】 I was told yesterday that the company ___ me to Rome next week for a business conference.
①  ?should have sent
②  ?was going to send
③  ?should be sending
④  ?should send