每当用户回答问题时,我的要求是下一个问题应自动进入上一个问题位置 [英] Whenever a question is answered by User , my requirement is that next question should automatically come to the previous question position

查看:96
本文介绍了每当用户回答问题时,我的要求是下一个问题应自动进入上一个问题位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当用户回答问题时,我希望下一个问题替换旧问题的位置,即上一个问题应该自动向上滚动并替换为下一个问题。为此,目前我正在使用 。但在这种情况下,问题出现在浏览器窗口的顶部,但我希望问题从浏览器窗口的顶部位置200px出现。任何人都可以帮我解决这个问题。

Whenever a question is answered by a User ,I want the next question to replace the position of the old question , that is the previous question should be automatically scrolled up and replaced by the next question. For this purpose ,currently I am using a . But in this case the question appears from the top of browser window but instead I want the question to appear from 200px from the top positon of browser window. Can anyone help me with this problem.

推荐答案

http:/ /www.w3schools.com/css/css_positioning.asp [ ^ ]和或许 AJAX。



还有框架。



你没有提供其他代码所以我只能推你答案的方向。
http://www.w3schools.com/css/css_positioning.asp[^] and perhaps AJAX.

There's also frames.

You've supplied no other code so I can only push you in the direction of answers.


这篇关于每当用户回答问题时,我的要求是下一个问题应自动进入上一个问题位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆