Commit 32db1106 authored by Patrick's avatar Patrick
Browse files

final update History function

parent babb7a1d
......@@ -18,19 +18,19 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
// window.addEventListener("load", function(event) {
var stateObj = {info: "start01"};
history.replaceState(stateObj, "neuerChronikEintrag", "http://localhost:8083/");
console.log("start01")
var stateObj = {info: "start01"};
history.replaceState(stateObj, "neuerChronikEintrag", "https://transfer.hft-stuttgart.de/partizipation/weilimdorf/#/");
console.log("start01")
// document.body.style.backgroundColor = "yellow";
// });
function historyP2(){
var stateObj = {info: "start02"};
history.pushState(stateObj, "neuerChronikEintrag", "http://localhost:8083/");
history.pushState(stateObj, "neuerChronikEintrag", "https://transfer.hft-stuttgart.de/partizipation/weilimdorf/#/");
console.log("start02")
}
function historyMap(){
var stateObj = {info: "map01"};
history.pushState(stateObj, "neuerChronikEintrag", "http://localhost:8083/");
history.pushState(stateObj, "neuerChronikEintrag", "https://transfer.hft-stuttgart.de/partizipation/weilimdorf/#/");
console.log("map01")
}
// function menu3(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment