Created
May 18, 2014 11:17
-
-
Save WhoSayIn/18c6c23c16d07440e20b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
</head> | |
<script> | |
var hashCheck = function() { | |
var hash = location.hash; | |
switch (hash) { | |
case '#calismalarimiz': | |
alert('calismalarimiz sayfasi'); | |
break; | |
case '#hakkimizda': | |
alert('hakkimizda sayfasi') | |
break; | |
} | |
}; | |
window.onhashchange = hashCheck(); | |
</script> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment