[英]Simple sticky <div> on scroll isn't sticking (using stickUp)
JSFiddle: http : //jsfiddle.net/EKG3r/我的頭標簽:
<head>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="stickUp.js"></script>
<script type="text/javascript" src="stickUp.min.js"></script>
<script type="text/javascript">
jQuery(function($) {
$(document).ready( function() {
$('.sticky').stickUp();
});
});
</script>
<link href='http://fonts.googleapis.com/css?family=Arbutus+Slab' rel='stylesheet' type='text/css'>
<link rel="icon"
type="image/png"
href="http://www.electrobureau.com/1/favicon.ico">
<title>
electro bureau | 1-1 an introduction
</title>
</head>
但是,藍色條只是拒絕滾動顯示。 我敢肯定這個問題非常簡單,但是我無法深入探討它。 任何見解深表感謝。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.