Skip to content

Instantly share code, notes, and snippets.

View tayvano's full-sized avatar

Taylor Monahan tayvano

View GitHub Profile
# Google's Language Map
ach : Acoli
af : Afrikaans
ak : Akan
am : አማርኛ
ar : العربية
az : azərbaycan
ban : Balinese
be : беларуская
bem : Ichibemba
@tayvano
tayvano / Equal-Heights-JS.js
Created January 24, 2016 23:24
Equal Heights JS
//Gives Containers equal heights, using the tallest height and applying it to the other containers
//the function takes two arguments, the class of the container of all to-be-equalized containers, and the class of the containers themselves
function equalizeContainers(containerClass, targetClass) {
//Get all containers of to-be-equalized elements...
var containerElements = document.getElementsByClassName(containerClass);
//... and iterate through them
for(var i = 0; i < containerElements.length; i++) {