Showcase

  • Rranks

    function getrank(site) {
      $.ajaxSetup({
        cache: false
      });
      // Alexa	
      var alexa_load = "<img src='images/misc/loading.gif' alt='loading...' />";
      var alexaUrl = "get/alexa.php?d=" + site;
      $('.asite[data-value="' + site + '"] .alexa').html(alexa_load);
      $.get(alexaUrl, function(data) {
        cookie_name = site + '_alexa';
    
  • Socket Studios

            var image_url = 'images/work/work_' + current_section + '_' + j + '.jpg';
            $image.attr('src', image_url);
    
            $image.load(function() {
    
              var data_i = $(this).data('i');
              var data_j = $(this).data('j');
    
              window['load_flags_' + data_i][data_j] = 1;
              var load_flag = window['load_flags_' + current_section][data_j];
    
  • jQAPI - Alternative jQuery Documentation

      function formatArticle() {
        var pDesc = $('p.desc', elements.content);
    
        $('.arguement:odd', elements.content).addClass('arguement-odd');
        if (pDesc.text().length <= 13) pDesc.remove();
        $('img', elements.content).attr('src', function() {
          return $(this).attr('src').substr(1);
        });
    
        $('.signatures', elements.content).each(function() {
    
  • CW. / Design and Art Direction

    	//keyboard control
    	$(document).keydown(function(e) {
    	  switch (e.which) {
    	    // key down
    	  case 40:
    	    if (key == false) {
    	      $("#" + projectName[0] + "_header").trigger("click");
    	      key = true;
    	    } else {
    
  • Playtype

    		var temp = 0;
    		listelements.find('.fpss-cont').each(function() {
    
    		  var listslides = listimages;
    		  var index = listslides.length;
    		  listslides[index] = temp;
    
    		  temp = temp + $(this).width();
    		  temp = temp + slidemargin;
    
    		});