Created
March 27, 2017 23:14
-
-
Save ikkou/335aba24c5cd9cca8509cc250b9ad500 to your computer and use it in GitHub Desktop.
This file contains hidden or 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>earth画面</title> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
</head> | |
<body> | |
<h1>earth画面</h1> | |
<p><a href="javascript:void(0);" target="game" id="js-jump-to-game">game画面へ</a></p> | |
aaa | |
<script | |
src="https://code.jquery.com/jquery-3.1.1.min.js" | |
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" | |
crossorigin="anonymous"></script> | |
<script> | |
console.log(window.name); | |
$(function(){ | |
$('#js-jump-to-game').on('click', function(){ | |
window.open( 'game.html', 'game' ); | |
}); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment