Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
javascript header
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div id="nav">
</div>
<script type="text/javascript" src="nav.js"></script>
</body>
</html>
var navContent = "" +
"<div class='title'><a href='http://mollietaylor.com/proximity/index.html'>Proximity To Nature</a></div>" +
"<div class='category'>Proximity</div>" +
"<div class='item'>Interactive Art Pieces</div>" +
"<div class='sub-item'><a href='http://mollietaylor.com/proximity/interactive/atlanta.html'>Atlanta</a></div>" +
"<div class='sub-item'><a href='http://mollietaylor.com/proximity/interactive/birmingham.html'>Birmingham, AL</a></div>" +
"<div class='sub-item'><a href='http://mollietaylor.com/proximity/interactive/dc.html'>DC</a></div>" +
"<div class='sub-item'><a href='http://mollietaylor.com/proximity/interactive/portland.html'>Portland, OR</a></div>" +
"<div class='item'>Gallery Pieces</div>" +
"<div class='sub-item'><a href='http://mollietaylor.com/proximity/galleries/elliott-street.html'>Elliott St.</a></div>" +
"<div class='sub-item'><a href='http://mollietaylor.com/proximity/galleries/clough.html'>Georgia Tech</a></div>" +
"<div class='sub-item'><a href='http://mollietaylor.com/proximity/galleries/doo.html'>dooGallery</a></div>" +
"<div class='sub-item'><a href='http://mollietaylor.com/proximity/galleries/oac.html'>Outdoor Activity Center</a></div>" +
"<div class='category'>Perimeters</div>" +
"<div class='item'><a href='http://mollietaylor.com/proximity/book/index.html'>Photo Book</a></div>" +
"<div class='item'><a href='http://mollietaylor.com/proximity/watersheds/index.html'>Watersheds</a></div>" +
"<div class='category'><a href='http://mollietaylor.com/proximity/about/index.html'>About</a></div>" +
"<div class='category'><a href='http://mollietaylor.com/proximity/store/index.html'>Store</a></div>" +
"";
var navDiv = document.getElementById('nav');
navDiv.innerHTML = navContent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.