【问题标题】:HomePage return to the top as user keep scrolling down the page当用户继续向下滚动页面时,主页返回顶部
【发布时间】:2016-05-24 01:50:50
【问题描述】:

每次向下滚动页面时,我都想呆在那里,然后又回到页面顶部

在我添加元标记“刷新”代码以定向到 Windows 托管的根目录之前,这还好

<meta http-equiv="refresh" content="2; url='http://site.com.au'">

我怎样才能让我的网站让用户在向下滚动页面时停留在那里?

当我删除元标记时,我被允许正确滚动查看页面而无需返回顶部

我需要一个元刷新标签来将我的页面定向到根目录

【问题讨论】:

    标签: javascript html scroll scrollview meta-tags


    【解决方案1】:

    在 URL 上,从站点链接“..”中删除 Quatation 标记

    <meta http-equiv="refresh" content="2; url=http://site.com.au">
    

    【讨论】:

      猜你喜欢
      • 2019-05-03
      • 1970-01-01
      • 1970-01-01
      • 2015-03-03
      • 2011-04-13
      • 2021-02-13
      • 2016-05-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多