Skip to content

Instantly share code, notes, and snippets.

Jorge Chavez jorgechavz

Block or report user

Report or block jorgechavz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jorgechavz / gist:1015467773de5e008bbf
Created Jun 19, 2015
Scrolling to HTML element
View gist:1015467773de5e008bbf
<a href="#" data-go="#node-element" class="go">Go to</a>
<script type="text/javascript">
//We prevent the default scroll
var $this = $(this),
to = $this.attr("data-go"),
View gist:a2ccc0464b3f18e1601a
/* Define the height parent */
height: 500px;
width: 100%;
height: 100%;
display: table;
View gist:fe1513287f22af48ca8a
//Apply this to the containter
<svg xmlns="" version="1.1" class="filters">
<filter id="blur">
<feGaussianBlur in="SourceGraphic" stdDeviation="20" result="blur" />
<feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 19 -9" result="goo" />
<feComposite in="SourceGraphic" in2="goo" operator="atop"/>
jorgechavz / CSS after line
Last active Oct 13, 2015
CSS lines used into websites, it is being use Stylus
View CSS after line
border-bottom 1px solid white
width 10%
width 30%
jorgechavz / map.html
Last active Dec 23, 2015
Build google map from JavaScript (no iframe)
View map.html
<script type="text/javascript" src=""></script>
var mapa = document.getElementById("mapa-frame");
var latlong=new google.maps.LatLng("28.6525409", "-106.1142289"),
mapOptions = {
center: latlong,
zoom: 14,
scrollwheel: false,
jorgechavz / Script for contact
Last active Jan 7, 2016
Contact mail System
View Script for contact
$this = $(this);
var data = $(this).serialize(),
url = $(this).attr("action");
data: data,
type: "POST",
You can’t perform that action at this time.