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