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 lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.10.1/TweenMax.min.js"></script> | |
<script> | |
$(function(){ |
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
var mousePos; | |
var lastMousePos = {x:0, y:0}; | |
function initPanning () { | |
//TweenMax.ticker.addEventListener("tick", doPanning); | |
} | |
var moveRange = 20; | |
var halfRange = moveRange/2; | |
function doPanning () { | |
if ( !!mousePos && (lastMousePos.x != mousePos.x || lastMousePos.y != mousePos.y) ) { |
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> | |
<title>ScrollTo Tester</title> | |
<style> | |
body{ | |
margin: 0px; | |
overflow-x: hidden; | |
} |
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
$('a').each( function(i, ele){ | |
if( !!ele.href.match("/site.com") ){ | |
ele.href = ele.href.replace("site.com" , "staging.site.com" ); | |
} | |
}); |
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
/** | |
* @author Remy Sharp | |
* @url http://remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/ | |
*/ | |
(function ($) { | |
$.fn.hint = function (blurClass) { | |
if (!blurClass) { | |
blurClass = 'blur'; |
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
/** | |
* @author Remy Sharp | |
* @url http://remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/ | |
*/ | |
(function ($) { | |
$.fn.hint = function (blurClass) { | |
if (!blurClass) { | |
blurClass = 'blur'; |
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 lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.10.1/TweenMax.min.js"></script> | |
<script> | |
$(function(){ |
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
<script> | |
$(function(){ | |
var startingLocation; | |
var destination1544 = new google.maps.LatLng(30.439112, -84.257061); | |
var destination2020 = new google.maps.LatLng(30.440659, -84.318076); | |
navigator.geolocation.getCurrentPosition(function (position){ | |
//lat and long | |
var latitude = position.coords.latitude; | |
var longitude = position.coords.longitude; | |
startingLocation = latitude + "," + longitude; |
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
<!--[if lte IE 8 ]> | |
<body class="ie8"> | |
<![endif]--> | |
<!--[if IE 9 ]> | |
<body class="ie9"> | |
<![endif]--> | |
<!--[if gt IE 9]><!--> | |
<body class="no-js"> | |
<!--<![endif]--> |
OlderNewer