From 42c1398ca0706ad3d77288b7caab72a516861f2b Mon Sep 17 00:00:00 2001 From: qiaohua Date: Mon, 8 Jul 2013 11:14:40 +0800 Subject: [PATCH] U: remove bottom example --- examples/index.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/examples/index.md b/examples/index.md index bac1581..dc3aa06 100644 --- a/examples/index.md +++ b/examples/index.md @@ -21,7 +21,7 @@ z-index: 1; text-align: center; } -#nav, #gotop, #bottom { +#nav, #gotop { position: absolute; height: 30px; line-height: 30px; @@ -40,11 +40,6 @@ top: 0; width: 100%; } -#bottom { - width: 100%; - left: 0; - bottom: 0; -}
撑高度的元素。
@@ -69,9 +64,6 @@ seajs.use(["$", "sticky"], function($, sticky) { $('').appendTo("body"); sticky.fix("#nav"); - - $('
footer fixed
').appendTo("body"); - sticky.fix("#bottom"); }); ````