470
edits
No edit summary |
No edit summary |
||
Line 136: | Line 136: | ||
var rightDiv = $("<div/>").addClass("grid_col"); | var rightDiv = $("<div/>").addClass("grid_col"); | ||
divide2cols.find("dl").each(function() { | divide2cols.find("dl").each(function() { | ||
console.log( $(this).offset().top , (divide2cols.height()/2) ); | |||
if ( $(this).offset().top > (divide2cols.height()/2) ) { | if ( $(this).offset().top > (divide2cols.height()/2) ) { | ||
rightDiv.append( $(this), $(this).next() ); | rightDiv.append( $(this), $(this).next() ); |