jQuery / HTML滚动行为 [英] jQuery / HTML scrolling behaviour

查看:77
本文介绍了jQuery / HTML滚动行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我有一个分成2列的页面。左栏中有可扩展的表单,用于询问用户可选的产品偏好时间很长。在页面的右侧有一个更短的联系详细信息表单。联系方式的详细信息是必填项。行为观念是,当用户向下滚动以完成左列可选表单时,页面将只滚动左列 - 右侧显示的联系人详细信息表单列停留在适当位置以避免右列为空的大空白区域。我在执行此操作时遇到问题,但我还没有找到任何解决方案,或者在线分割列行为的任何页面示例。



任何建议/建议/例子在线?感谢!

解决方案

用户 overflow:scroll / p>

So I have a page that is split into 2 columns. The left column there are expandable forms that are quite long to ask the user optional product preferences. On the right side of the page there is a much shorter, 'contact details' form. The contact details form is mandatory.

The behaviour idea is that as the user scrolls down to complete the left column optional forms, the page will only scroll the left column - the contact details forms displayed in the right column stays in place to avoid a big gaping white space where the right column is empty. I'm having trouble implementing this and I haven't found a solution yet or any examples of pages with this split column behaviour online.

Any advice / suggestions / examples online? Thanks!

解决方案

User overflow:scroll for the left column.

这篇关于jQuery / HTML滚动行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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