This file contains 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
table#miyazaki { | |
margin: 0 auto; | |
border-collapse: collapse; | |
font-family: Agenda-Light, sans-serif; | |
font-weight: 100; | |
background: #333; color: #fff; | |
text-rendering: optimizeLegibility; | |
border-radius: 5px; | |
} |
This file contains 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
$.fn.equalizeHeights = function() { | |
var maxHeight = this.map(function(i,e) { | |
return $(e).height(); | |
}).get(); | |
return this.height( Math.max.apply(this, maxHeight) ); | |
}; | |
$('.equal').equalizeHeights(); |
This file contains 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
function scrolled_menu() { | |
if ($(window).scrollTop() > $('header').height()) { | |
$('header').addClass('fixed_type'); | |
$('html').addClass('fixed_type_html'); | |
} else { | |
$('header').removeClass('fixed_type'); | |
$('html').removeClass('fixed_type_html'); | |
} | |
} |
This file contains 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
$(window).scroll(function() { | |
if ($(this).scrollTop()) { | |
$('#toTop:hidden').stop(true, true).fadeIn(); | |
} else { | |
$('#toTop').stop(true, true).fadeOut(); | |
} | |
}); | |
$(document).ready(function(){ | |
$('#toTop').fadeOut(); |
This file contains 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
(function($) { | |
$.fn.watermark = function() { | |
return this.each(function() { | |
var obj = $(this); | |
var initialText = obj.val(); | |
obj.focus(function() { | |
if (obj.val() === initialText) | |
obj.val(""); |
This file contains 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(){ | |
$('a').click(function(){ | |
$('html, body').animate({ | |
scrollTop: $( $.attr(this, 'href') ).offset().top | |
}, 500); | |
return false; | |
}); | |
}); |
This file contains 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(){ | |
$('.showpassword').each(function (index, input){ | |
var $input = $(input); | |
$("#passwordshow").click(function () { | |
var change = $(this).is(":checked") ? "text" : "password"; | |
var text = $(this).is(":checked") ? "Hide Password" : "Show Password"; | |
var rep = $("<input type='" + change + "' />") | |
.attr("id", $input.attr("id")) | |
.attr("name", $input.attr("name")) | |
.attr('class', $input.attr('class')) |
NewerOlder