出于某种原因,我的网页不断跳到Android设备上的用户的页面底部。此错误仅在我激活"智能缓存到CSS"在Prestashop。我知道它是因为mmenu,因为它在页面向下滚动到页脚之前快速打开。有谁知道如何解决这个问题? 我的版本是1.6.1.14 btw
<!DOCTYPE html>
<title>jQuery.mmenu playground</title>
<meta charset="utf-8" />
<link type="text/css" href="layout.css" rel="stylesheet" />
<!-- Include jQuery.mmenu .css files -->
<link type="text/css" href="path/to/css/jquery.mmenu.all.css" rel="stylesheet" />
<!-- Include jQuery and the jQuery.mmenu .js files -->
<script type="text/javascript" src="path/to/js/jquery.js"></script>
<script type="text/javascript" src="path/to/js/jquery.mmenu.all.js"></script>
<!-- Fire the plugin onDocumentReady -->
<script type="text/javascript">
jQuery(document).ready(function( $ ) {
$("#menu").mmenu({
"extensions": [
"pagedim-black",
"theme-dark"
],
"navbars": [
{
"position": "top"
}
]
});
});
</script>
<!-- The page -->
<div class="page">
<div class="header">
<a href="#menu"></a>
Demo
</div>
<div class="content">
<p><strong>This is a demo.</strong><br />
Click the menu icon to open the menu.</p>
</div>
</div>
<!-- The menu -->
<nav id="menu">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/about">About us</a>
<ul>
<li><a href="/about/history">History</a></li>
<li><a href="/about/team">The team</a></li>
<li><a href="/about/address">Our address</a></li>
</ul>
</li>
<li><a href="/contact">Contact</a></li>
</ul>
</nav>