Skip to content

Instantly share code, notes, and snippets.

View AdrianGyuricska's full-sized avatar

Adrian Gyuricska AdrianGyuricska

View GitHub Profile
@elidupuis
elidupuis / jquery.equalizeHeights.js
Created February 28, 2011 23:07
Simple plugin to equalize the heights of selected elements
// stolen from http://api.jquery.com/map/
// usage: $('div').equalizeHeights();
$.fn.equalizeHeights = function(){
return this.height( Math.max.apply( this, $(this).map(function(i,e){ return $(e).height() }).get() ) );
}
@elidupuis
elidupuis / safari_search_input
Created November 18, 2010 21:19
Make Safari render an search input as a regular text input
input[type="search"] { -webkit-appearance: textfield; }