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
$(document) | |
.on("click", 'a[href^="#"]', function(e){ | |
e.preventDefault(); | |
var target = $(this).attr("href"); | |
$('html, body').animate({scrollTop: $(target).offset().top }, 400); | |
}) | |
; |
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
<div id="catch_screen"> | |
<div id="encounter"> | |
<img id="pokemon"/> | |
<img id="shiny"/> | |
<canvas id="sparkles" width="256" height="256"></canvas> | |
<img src="https://github.com/ZeChrales/PogoAssets/blob/master/static_assets/png/sparkle.png?raw=true" id="sparkle"/> | |
</div> | |
<select id="pokemons"></select> | |
<table id="stats"> | |
<tr> |
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
CREATE TABLE `zip` ( | |
`zip` int(5) unsigned zerofill NOT NULL, | |
`lat` decimal(10,8) DEFAULT NULL, | |
`lng` decimal(11,8) DEFAULT NULL, | |
PRIMARY KEY (`zip`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 |
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
/*! | |
* Bootstrap v3.3.7 (http://getbootstrap.com) | |
* Copyright 2011-2018 Twitter, Inc. | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
*/ | |
/*! | |
* Generated using the Bootstrap Customizer (<none>) | |
* Config saved to config.json and <none> | |
*//*! |
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
CREATE TABLE `pokemon_list` ( | |
`id` int(5) unsigned NOT NULL AUTO_INCREMENT, | |
`name` varchar(100) DEFAULT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB AUTO_INCREMENT=803 DEFAULT CHARSET=utf8; | |
insert into `pokemon_list`(`id`,`name`) values | |
(1,'Bulbasaur'), | |
(2,'Ivysaur'), |