The docs for Google Analytics: https://developers.google.com/analytics/devguides/collection/analyticsjs/#the_javascript_tracking_snippet
Google Analytics的文档:https://developers.google.com/analytics/devguides/collection/analyticsjs/#the_javascript_tracking_snippet
has a fantastic scroll effect, where the left sidebar is the fixed height of the page, then increases in size as you scroll down, then shrinks down as you get to the bottom.
有一个梦幻般的滚动效果,其中左侧边栏是页面的固定高度,然后向下滚动时尺寸增大,然后在到达底部时缩小。
you can also scroll this sidebar independently of the main content...
你也可以独立于主要内容滚动这个侧边栏...
is there an existing solution (or even a collection of solutions I could chain together), perhaps via jquery plugins, to achieve something similar?
有没有一个现有的解决方案(甚至可以链接在一起的解决方案集合),也许是通过jquery插件,来实现类似的东西?
right now i've been able to achieve something similar to MSDN: https://msdn.microsoft.com/en-us/library/mt607689.aspx
现在我已经能够实现类似于MSDN的东西:https://msdn.microsoft.com/en-us/library/mt607689.aspx
by affixing the content on scroll (similar to bootstraps affix component) but the height of this container extends beyond the height of the browser so we have to scroll to the bottom to make the sidebar scroll.
通过在滚动上粘贴内容(类似于bootstraps附加组件),但此容器的高度超出了浏览器的高度,因此我们必须滚动到底部以使侧边栏滚动。
the solution on the google analytics page is much more elegant because they scroll independently. any existing solution would be useful, and I'd like to know if there is one before I try to build it myself :)
谷歌分析页面上的解决方案更加优雅,因为它们可以独立滚动。任何现有的解决方案都是有用的,我想在我尝试自己构建之前知道是否有一个解决方案:)
1 个解决方案
#1
0
Have you tried http://rocha.la/jQuery-slimScroll/?
你试过http://rocha.la/jQuery-slimScroll/吗?
They appears to work the same way as the reference page.
它们看起来与参考页面的工作方式相同。
#1
0
Have you tried http://rocha.la/jQuery-slimScroll/?
你试过http://rocha.la/jQuery-slimScroll/吗?
They appears to work the same way as the reference page.
它们看起来与参考页面的工作方式相同。