【问题标题】:Load first part after content在内容之后加载第一部分
【发布时间】:2017-09-09 19:48:44
【问题描述】:

我希望我的网站加载第一部分而不是整个页面,而是当我滚动加载该部分内容时。

|-------------------|
|   Navigation bar  | first part (width 100% and height: 750px;)
|        H1         |
|     Button        |
|___________________|

|-------------------|
| A lot of iframes  |
|    and images     | content (width: 100%)
|                   |
|-------------------| 

iframe:

<iframe src="https://drive.google.com/file/d/0B4Qryoo5XFqEdUdEOE52amNiR1E/preview?usp=iframe_googleplus" id="iframe-pdf"></iframe>

例如:

当您进入一个站点并向下滚动时,该站点会向您显示它有多少人,并且该站点当时会计算或统计您。

【问题讨论】:

    标签: javascript jquery html css iframe


    【解决方案1】:

    您可以阅读 -> angularjs infinite scroll。 如果向下滚动,您可以在回调中检测到它并将任何内容添加到您网站的底部

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-26
      • 1970-01-01
      相关资源
      最近更新 更多