home | credits | docs

Welcome to header.js!


Isn't it cool?

usage

First, we need to link it with:

<script

src=

"https://headerjs.glitch.me/header.js"

></script>


And then, we use it like this!


<div

src=

"headerJS"

>

wow, look at my header!!!

</div>


Of course, if you don't want to use the teal default you can always make a DIV element (with a different id, of course, so it misses the "headerJS" one) and run this JavaScript:

headerJS( { div: "headerJS", bg: "#000", color: "black", width: "100%", height: "20px", font: "Monospace", padding: "10px", textAlign: "center", left: "0", right: "0", top: "0", bottom: "0" } );



Enjoy, friends!