/** * Created by Platonic on 11/27/2014. */ //var header_content = ""; //var url = window.location.pathname; //var pageName = url.substring(url.lastIndexOf('/') + 1); //$.get("_header.php?page=" + pageName.replace(".html", ""), function (result) { // // header_content = result; // if (header_content !== "") $(".nav-template").prepend(header_content); //}); $(function () { // var errors_php = "',''); ?>"; //$('body').append("
").attr(id,'#wrapper'); // $('#errors').slideDown('slow'); // if (header_content !== "") $(".nav-template").append(header_content); //$("#nav-template").load("_header.php?page=" + pageName.replace(".html", "")); //$.ajax({ // type: "GET", // url: "", // dataType: "html", // success: function (response) { // // $("#ajaxContent").html(response); // //$("#issomeone").html($(response).find("#notis")); // // $('#issomeone').load(" #notis"); // // setTimeout(load, 4000); // } //}); //var newUrl = window.location.pathname + "?page=" + url + "&id=" + id; //$.get(url, function (data) { // var fileDom = $(data); // $(".maincontainer").html(fileDom); // history.replaceState(null, null, newUrl); //}); });