Skip to content

Instantly share code, notes, and snippets.

View IrvBriscoe's full-sized avatar
🎯
Focusing

Irv Briscoe IrvBriscoe

🎯
Focusing
  • Minneapolis, Minnesota
View GitHub Profile
@IrvBriscoe
IrvBriscoe / ajaxify-html5.js
Created December 7, 2012 06:14 — forked from balupton/README.md
Ajaxify a Website with the HTML5 History API using History.js, jQuery and ScrollTo
// History.js It!
// v1.0.1 - 30 September, 2012
// https://gist.github.com/854622
(function(window,undefined){
// Prepare our Variables
var
History = window.History,
$ = window.jQuery,
document = window.document;
@IrvBriscoe
IrvBriscoe / muahaha.js
Created July 14, 2012 01:52
Script to change david's logo by manipulating url
//Because ya need some mofuckin jQuery
/*! jQuery v1.7.2 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"<!doctype html>":"")+"<html><body>"),cl.close();d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));
@IrvBriscoe
IrvBriscoe / boilerplate-vid-transition.css
Created April 17, 2012 16:49
webkit transition brah
#videos{
position: relative;
z-index: 1;
}
@IrvBriscoe
IrvBriscoe / cta-css3-buttons.css
Created March 19, 2012 06:15
Cta css3 buttons
/*Eric Meyer’s “Reset CSS” 2.0 CSS Reset*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
#container{ margin: 20px; }
/*Default button styles*/
.button{
background: #d2d2d0;
border: 1px solid #727272;
color: #fff;
@IrvBriscoe
IrvBriscoe / cssFullCss3Navigation.css
Created February 19, 2012 21:29
Full css3 navigation
/*Eric Meyer’s “Reset CSS” 2.0 CSS Reset*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
html{
background:-webkit-gradient(radial, 40% 315, 140, 40% 315, 715, from(#eee), to(#ccc));
background:-moz-radial-gradient(24% 315px, circle, #eee 140px, #ccc 415px);
background-color: #eee;
height: 10
@IrvBriscoe
IrvBriscoe / cssgreencss3button.css
Created January 7, 2012 00:28
Green css3 Button
/* CSS */
body{ background-color: #fefce1; }
button{
background: #B3D72D;
background: -moz-linear-gradient(top, #B3D72D 0%, #93C623 5%, #7CBA1D 51%, #6AB119 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#B3D72D), color-stop(5%,#93C623), color-stop(51%,#7CBA1D), color-stop(100%,#6AB119));
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#B3D72D', endColorstr='#6AB119',GradientType=0 ); /* ie */
border: 1px solid #467700;
color: #fff;
cursor: pointer;
@IrvBriscoe
IrvBriscoe / cssglossycss3nav.css
Created January 6, 2012 17:38
HTML: Glossy css3 Navigation Buttons
/* CSS */
/*Eric Meyer’s “Reset CSS” 2.0 CSS Reset*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
body{ background-color: #eee; }
/*Navigation Buttons*/
#nav-buttons{
font-family: arial, sans-serif;
margin: 20px;