Midnight.js 项目简介
Midnight.js 可以让你随时切换固定的页面头部。使用比较简单:<script src="midnight.jquery.js"></script>
<script>
// Start midnight
$(document).ready(function(){
// Change this to the correct selector for your nav.
$('nav.fixed').midnight();
});
</script>
<script>
// Start midnight
$(document).ready(function(){
// Change this to the correct selector for your nav.
$('nav.fixed').midnight();
});
</script>