I’m making a navigation bar like Twitter, but I want that one div inside that bar scrolls down with notifications or news, and the other bar content stay “as is”. Any suggestion?
http://jsfiddle.net/fdezluis96/JJ29E/
#navigation{
position:fixed;
top:0;
left:0;
width:100%;
padding:5px;
color: #fff;
height:32px;
font-size:20px;
background: #333;
}
And this is the main HTML code
<div id="navigation">This is the main div static content
<div id="subnavigation">This is the scrolling content.</div>
</div>
Thanks!
For the live-pin.com website, this seems to work:
and