Skip to content

Instantly share code, notes, and snippets.

@zcorpan
zcorpan / nav.js
Last active February 10, 2017 10:30 — forked from tobie/nav.js
"use strict";
(function(global) {
var CSS_TEXT = "float: left; padding: 5px 15px; border-left: 1px solid #999; cursor: pointer;"
var CSS_BORDER = "outline: 2px dashed #00F";
var container = document.createElement("div");
var display = document.createElement("div");
var previous = document.createElement("div");
var next = document.createElement("div");
var position = document.createElement("span");
display.appendChild(position);