Added egypt
This commit is contained in:
32
egypt/script.js
Normal file
32
egypt/script.js
Normal file
@@ -0,0 +1,32 @@
|
||||
//Nav li
|
||||
var button = document.getElementById("li1");
|
||||
|
||||
button.addEventListener("click", function(){
|
||||
document.location.href = 'index.html';
|
||||
});
|
||||
|
||||
var button = document.getElementById("li2");
|
||||
|
||||
button.addEventListener("click", function(){
|
||||
document.location.href = 'History.html';
|
||||
});
|
||||
|
||||
var button = document.getElementById("li3");
|
||||
|
||||
button.addEventListener("click", function(){
|
||||
document.location.href = 'Explore.html';
|
||||
});
|
||||
|
||||
|
||||
//btns
|
||||
var button = document.getElementById("btn1");
|
||||
|
||||
button.addEventListener("click", function(){
|
||||
document.location.href = '/Explore.html';
|
||||
});
|
||||
|
||||
var button = document.getElementById("btn2");
|
||||
|
||||
button.addEventListener("click", function(){
|
||||
document.location.href = "www.google.com/maps/place/Egypt";
|
||||
});
|
||||
Reference in New Issue
Block a user