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>Test Animations</title> | |
<style type="text/css"> | |
body {padding:50px;} | |
#login { | |
width:200px; | |
height:200px; |
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
var colCount = 0; | |
var colWidth = 0; | |
var margin = 20; | |
var windowWidth = 0; | |
var blocks = []; | |
$(function(){ | |
$(window).resize(setupBlocks); | |
}); |
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
$('#selectJob').children().hide(); | |
var sel_list = $('<div id="jobDropdown"><strong class="cta"><span></span></strong><ul></ul></div>'); | |
sel_list.find('span').text($('#selectJob label').text()); | |
$('#selectJob select').children('option').each(function(){ | |
sel_list.children('ul').append('<li>' + $(this).text() + '</li>'); | |
}); | |
$('#selectJob').append(sel_list); | |
$('#jobDropdown').find('li').live('click',function(e){ | |
$('#selectJob select option').eq($(this).index()).attr('selected','selected').siblings('option').removeAttr('selected'); | |
$(this).addClass('selected'); |