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

final update History function

parent babb7a1d
...@@ -18,19 +18,19 @@ ...@@ -18,19 +18,19 @@
* This copyright notice MUST APPEAR in all copies of the script! * This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/ ***************************************************************/
// window.addEventListener("load", function(event) { // window.addEventListener("load", function(event) {
var stateObj = {info: "start01"}; var stateObj = {info: "start01"};
history.replaceState(stateObj, "neuerChronikEintrag", "http://localhost:8083/"); history.replaceState(stateObj, "neuerChronikEintrag", "https://transfer.hft-stuttgart.de/partizipation/weilimdorf/#/");
console.log("start01") console.log("start01")
// document.body.style.backgroundColor = "yellow"; // document.body.style.backgroundColor = "yellow";
// }); // });
function historyP2(){ function historyP2(){
var stateObj = {info: "start02"}; 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") console.log("start02")
} }
function historyMap(){ function historyMap(){
var stateObj = {info: "map01"}; 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") console.log("map01")
} }
// function menu3(){ // 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