@ryo @Telvannichad @neo I'm kind of tempted to use it just so I can have a navbar that I can change on every page without server-side scripting or editing each individual page.
@neo @Telvannichad @ryo You can do that without AJAX. Just have an external script that puts down a few links via document.writeln() or innerHTML.
@xianc78 @ryo @Telvannichad Yeah, I use it for that too
<script type="text/javascript"> (function(){ var request = new XMLHttpRequest(); request.open("GET", "WEBSITE NAVIGATION URL"); request.open("GET", "WEBSITE NAVIGATION URL"); request.addEventListener("load", function() { document.querySelector("#navbar").innerHTML += request.responseText; })
some real dirty shit, but it works