CSS 如何创建 Facebook 风格的固定状态栏?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/393736/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to create Facebook style fixed Status bar?
提问by Adeel
I want to create fixed status bar in by web form to display various status/messages/notification to user , i can used fixed CSS property but i want to implement in i.e 6/7 and in Firefox. and all the browsers.
我想通过 Web 表单创建固定状态栏以向用户显示各种状态/消息/通知,我可以使用固定的 CSS 属性,但我想在 ie 6/7 和 Firefox 中实现。和所有浏览器。
采纳答案by ceejayoz
Dean Edwards' "IE7" JavaScript librarymay help. It fixes position: fixed in IE6.
Dean Edwards 的“IE7”JavaScript 库可能会有所帮助。它固定位置:在 IE6 中固定。
回答by
Here's a quick and easy solution on how to fix element/bar on the bottom page:
这是有关如何修复底部页面上的元素/栏的快速简便的解决方案:
jixedbar - Fixed bottom bar like Facebook
Now all you have to do next is to find an AJAX framework (prototype, jquery, etc) and start coding your custom menu (application, notification, slider, etc.) or similar to the one in Facebook.
现在您接下来要做的就是找到一个 AJAX 框架(原型、jquery 等)并开始编写您的自定义菜单(应用程序、通知、滑块等)或类似于 Facebook 中的菜单。
回答by Kon
I think you want a sticky footer.
我想你想要一个粘性页脚。
回答by ray
There are several out there. For instance, take a look at the tickbar, which seems quite configurable: http://www.ticketmy.com/bumpin/socialbar/index.php
那里有几个。例如,看看tickbar,它似乎相当可配置:http://www.ticketmy.com/bumpin/socialbar/index.php
回答by Chuck
Here's a pretty simple notification bar
这是一个非常简单的通知栏
回答by Chuck
I wonder if there's a quick and dirty way to save the state of something in that bar across a site...
我想知道是否有一种快速而肮脏的方法可以在整个站点中保存该栏中某物的状态...
回答by hkadejo
view this post Facebook Style Footer Admin Panel
查看此帖子Facebook 样式页脚管理面板