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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Index page</title> | |
<meta name="description" content=""> |
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
$(document).ready(function() { | |
// hover text change | |
$('a.questions').mouseenter(function() { | |
$(this).html('[email protected]'); | |
}); | |
$('a.questions').mouseleave(function() { | |
$(this).html('Questions? Drop us a line.'); | |
}); | |
$('a.questionsspanish').mouseenter(function() { | |
$(this).html('[email protected]'); |
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
$(document).ready(function() { | |
// get basic measures | |
$wwidth = $(window).width(); | |
$wheight = $(window).height(); | |
// based on scroll, toggle header | |
$(window).scroll(function() { | |
var y = $(window).scrollTop(); | |
if (y > $wheight+($wheight/2)) { | |
$('header').fadeIn('slow'); |
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
// SELECT with TAGS | |
// create the tags | |
$('#theform select.tagger').change(function(){ | |
$newtag = ($(this).val()); | |
$('.tagsarea').append('<span class="tag"><span class="deltag">x</span>'+ $newtag + '</span>'); | |
}); | |
// remove generated tags on click | |
$(document).on('click', '.tagsarea span.deltag', function() { | |
$(this).parent().remove(); | |
}); |
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
$('a.wizardLink').click(function(){ | |
var block = $(this).attr('id'); | |
alert(block+'block'); | |
$(block+'block').show('slow'); | |
}); |
NewerOlder