Skip to content

Instantly share code, notes, and snippets.

@jpacora
Created May 14, 2013 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpacora/5573688 to your computer and use it in GitHub Desktop.
Save jpacora/5573688 to your computer and use it in GitHub Desktop.
Ejemplo de pushState (HTML5)
<!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