新的一个项目要求:滚动网页,但是导航条固定在顶部。
主要是产品搜索页面!当产品列表很长时,搜索条件固定在顶部,提高用户的体验感!
[html]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script type="text/javascript" src="http://static.blog.csdn.net/scripts/jquery.js" ></script>
<script type="text/javascript">
function dhDiv(ee1){
//导航距离屏幕顶部距离
var...