Showcase

  • Startups, This Is How Design Works

    	function handleDropEvent(event, ui) {
    	  var draggable = ui.draggable;
    	  $('#triforceDrag').css({
    	    backgroundImage: 'url("./img/linkHappy@2x.gif")',
    	    backgroundSize: '112px 208px'
    	  }).draggable({
    	    disabled: true
    	  });
    	  $('#dragText').css({
    	    fontSize: '0px',
    	    color: "#fff"
    
  • Workstead

    		$("#draggable").draggable({
    		  handle: ".handle",
    		  containment: 'window',
    		  /* Check to see if the box has ever been dragged (for use in the resize function) */
    		  drag: function() {
    		    $.data(this, 'dragged', true);
    		  },
    		  open: function() {
    		    $.data(this, 'dragged', false);
    
  • My things - thinkery.me

    		load: function(_username, _data, _singlePage, _tags) {
    		  for (var k in _tags) {
    		    _tags[k]['q'] = k.toLowerCase();
    		    tags[k] = _tags[k];
    		  }
    		  Thinkery.tags = tags;
    
    		  username = _username;
    		  originalData = data = _data;
    		  singlePage = typeof _singlePage == "boolean" ? _singlePage : false;
    		  $('#main').attr('username', username);
    
  • World of Merix Studio

    	var moveMap = function() {
    	    if (pause) return;
    
    	    speed < 10 ? speed += 0.05 : speed = 10;
    	    angleX < 360 ? angleX += .01 * speed : angleX -= 360;
    	    angleY < 360 ? angleY += .003 * speed : angleY -= 360;
    
    	    x = -Math.floor((Math.sin(angleX * Math.PI / 180) + 1) * mapW);
    	    y = -Math.floor((Math.cos(angleY * Math.PI / 180) + 1) * mapH);
    
  • Bell Creative Studio

        $("#tweets").corner("10px");
        $(".ttw-music-player").corner("10px");
        $(".rounded").corner("10px");
        (function(a, b) {
          url = "http://api.twitter.com/1/statuses/user_timeline/" + a + ".json?callback=?";
          $.getJSON(url, function(a) {
            for (var c = 0; c < b; c++) $("#tweets").append("<p>" + a[c].text + "</p>").linkify()
          })
        })("rtbz", 5);