Created
May 14, 2013 04:24
-
-
Save jpacora/5573688 to your computer and use it in GitHub Desktop.
Ejemplo de pushState (HTML5)
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> | |
<meta charset="utf-8"> | |
<title>window.history.pushState - Ejemplo</title> | |
</head> | |
<body> | |
<h1>window.history.pushState Ejemplo</h1> | |
<script type="text/javascript"> | |
window.history.pushState("", "Hola mundo", 'hola-mundo'); | |
document.title = "Hola mundo"; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment