2012-02-21 39 views
0

我使用的是:http://kitchen.net-perspective.com/open-source/scroll-follow/JQuery滚动按钮但水平? (冻结列)

我的大型HTML表格冻结标题。我克隆了原来的桌子,剪掉了身体,只做了“header scroll”插件。它的工作原理就好像它在链接中一样。

现在,我想我的第一列做相同的,但“水平”,因为我的第一列熄灭时,我水平滚动页面。由于“滚动跟踪”,我没有垂直问题。

我再次克隆了我的原始表格,并设置了第一列,但经过大量研究后,我找不到要找的内容。这基本上是我的设置:

<table> 
    //Original large table 
</table> 

<table> 
    //Cloned table of the first column to be (hopefully) "scroll followed" horizontally 
</table> 

<div id="scroll follow plugin"> 
    <table> 
    //Cloned table with only headers 
    </table> 
</div> 

我是新来的这一切了jQuery,编码,脚本和HTML的东西,所以任何帮助,将不胜感激。

回答

0

我会建议不要使用表格。长话短说,您尝试使用的插件不会让您选择水平滚动。

如果你想让你的页面水平滚动,你可以使用这个plugin