Skip to content

Instantly share code, notes, and snippets.

@JasonCole1980
JasonCole1980 / mcpc-rotator.js
Last active December 23, 2015 20:49
Image Rotator script - Built for http://www.mycleanpc.com
// First round of slideshow function/plugin
$(function(){
var rotator = {
init: function() {
this.buildRotator();
},
slideConfig: {
@JasonCole1980
JasonCole1980 / JPC.com.js
Created September 24, 2013 21:56
JasonPCole.com - UI and settings stuff. JSON parsing function for reading site content from separate file, needs testing.
$(function () {
var s;
var theSequence = {
settings: {
/* "Cached" variables/information,
frequently/widely used information for sub-functions */
logoButton: $('#logo'),
header: $('header'),
@JasonCole1980
JasonCole1980 / waterjugs.js
Created September 24, 2013 22:46
Water Jugs - Made to solve Die Hard Water Jugs riddle. Full repo here: https://github.com/JasonCole1980/water-jugs
$(function(){
var waterJugs = {
// initialize water jugs
init: function() {
this.wjBuild();
},
// configuration variables
@JasonCole1980
JasonCole1980 / animated-gyroscope.css
Last active March 11, 2017 17:57
CSS Animated Gyroscope
body {
background: url("http://assets.codepen.io/images/classy_fabric.png");
}
#sweet {
position: fixed;
margin: 0 45%;
top: 10em;
}