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
<figure> | |
<!-- Trigger for fader text --> | |
<img id="ten" src="images/dollars.png" alt="$10" title="$10" width="388" height="214"/> | |
</figure> | |
<div id="fader"> | |
<h3>This is the text that you want to fade in</h3> | |
<div class="mask"><img src="images/mask.png" /></div> | |
</div> |
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
/* Lettering.JS 0.6.1 by Dave Rupert - http://daverupert.com */ | |
(function($){function injector(t,splitter,klass,after){var a=t.text().split(splitter),inject='';if(a.length){$(a).each(function(i,item){inject+='<span class="'+klass+(i+1)+'">'+item+'</span>'+after});t.empty().append(inject)}}var methods={init:function(){return this.each(function(){injector($(this),'','char','')})},words:function(){return this.each(function(){injector($(this),' ','word',' ')})},lines:function(){return this.each(function(){var r="eefec303079ad17405c889e092e105b0";injector($(this).children("br").replaceWith(r).end(),r,'line','')})}};$.fn.lettering=function(method){if(method&&methods[method]){return methods[method].apply(this,[].slice.call(arguments,1))}else if(method==='letters'||!method){return methods.init.apply(this,[].slice.call(arguments,0))}$.error('Method '+method+' does not exist on jQuery.lettering');return this}})(jQuery); | |
/* jQuery Lettering Animate - http://www.giuliandrimba.com/labs/lettering-animate/ */ | |
(function(a |
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
div.progress | |
div.inner |
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
// Find the right method, call on correct element | |
function launchFullScreen(element) { | |
if(element.requestFullScreen) { | |
element.requestFullScreen(); | |
} else if(element.mozRequestFullScreen) { | |
element.mozRequestFullScreen(); | |
} else if(element.webkitRequestFullScreen) { | |
element.webkitRequestFullScreen(); | |
} | |
} |
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
<html> | |
<head> | |
<title>Recommendations on LinkedIn</title> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
<script type="text/javascript" src="http://platform.linkedin.com/in.js"> | |
api_key: [YOUR API KEY] | |
authorize: true | |
</script> | |
<script type="text/javascript"> | |
// Once we have an authorization, fetch the user's profile via API |
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
<script> | |
head.js('http://code.jquery.com/jquery-1.9.1.min.js', function(){ | |
if(typeof jQuery === 'undefined'){ | |
head.js('js/lib/jquery/jquery-1.9.1.min.js'); | |
}; | |
}) | |
</script> |
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
header h1{ | |
background-color: transparent; | |
background-repeat: no-repeat; | |
border: 0; | |
direction: ltr; | |
display: block; | |
overflow: hidden; | |
text-align: left; | |
text-indent: -999em; | |
*line-height: 0; |
NewerOlder