JSFiddle - React, Tailwind, and code Playground
HTML
<div id="navigation">
<ul class="bars">
<li class="page_item"><a href="http://website.com/">Name</a></li>
</ul>
<ul class="bars">
<li class="page_item"><a href="http://website.com/?page_id=2" title="Contact">Contact</a></li>
</ul>
<ul class="bars">
<li class="page_item"><a href="http://website.com/?cat=1" title="Something">Something</a>
</li>
</ul>
</div>
<div id="page-wrap">
<div class="post" id="post-2">
<h2>Contact</h2>
<div class="entry">
<p>Text <a href="http://www.google.com">link to google</a></p>
</div>
</div>
</div>
CSS
html, body { height: 100%; }
body { background: white; font: 14px/1.4 Georgia, Serif; }
#navigation {
z-index:1;
width:100%;
position:fixed;
}
ul.bars li {
list-style-type:none;
color:#fff;
background:#000;
padding:20px 0px;
width:100%;
text-align:center;
cursor:move;
}
ul.bars li a {
color:#fff;
}
JavaScript
//draggable bars
$("ul.bars li").draggable({ containment: "body"});