douwojiao5919 2011-09-30 14:29
浏览 47

如何在水平滚动和DIV溢出时加载数据?

I’m working on this horizontal scrollbar that grabs content from the database when you scroll to the farthest right. Here's an example of what we want to do: http://designarchives.aiga.org/#/entries/%2Bcollections%3A%2250%20Books%2F50%20Covers%20of%202009%22/_/grid/relevance/asc/0/48/120

I found useful tutorial here but its vertical scroll: http://www.9lessons.info/2009/07/load-data-while-scroll-with-jquery-php.html

So far it is working vertically, but how do you load data while scrolling horizontally and on a DIV overflow, not the window?

  • 写回答

1条回答 默认 最新

  • douqin2108 2011-09-30 15:01
    关注

    Your URL is broken but I wrote an accepted answer on how to work with horizontal scrolling divs here. Hopefully that helps you.

    Here's the working fiddle in case it wasn't obvious where to look. jsfiddle.net/gAMyR/26

    评论

报告相同问题?

悬赏问题

  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记