Skip to content

Instantly share code, notes, and snippets.

@xpander54
Created January 17, 2014 02:57
Show Gist options
  • Save xpander54/8467671 to your computer and use it in GitHub Desktop.
Save xpander54/8467671 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
$j=jQuery.noConflict();
$j(document).ready(function() {
resizeCols();
});
function resizeCols()
{
console.log("resizeCols()");
var colL = $j(".reflexiones-col-left");
var colR = $j(".reflexiones-col-right");
var colLH = $j(".reflexiones-col-left").height();
var colRH = $j(".reflexiones-col-right").height();
if(colLH > colRH)
{
console.log("Left");
colR.height(colLH);
}
else
{
console.log("Right");
colL.height(colRH);
}
console.log(colLH + " R = " + colRH);
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment