开发者

Javascript on click go to other div

currently, i have a comment box, where user can comment, however when too many comment on it, the page stretches down. so when user press comment, the box appear, however user have to scroll down to comment.

how do i achieve when开发者_如何学Python user click comment box, page slide down to comment box or straight go to comment box?

i;m using jquery..


What if you give the comment box the id="comment-box" attribute and just use a link h href="#comment-box" on a link that say 'go to comment box'?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜