我看到了几批高射机上的许多事情,只有为我工作的非。 我需要获得四肢检查的高度。
<div class="headline" data-rating="0.482005543693" onclick="javascript:showArticle(1076);" style="display: none; ">
<div class="headline_txt">
<h1>#3726: Meryl Streep schittert in The Iron Lady- alle recensies op een rijtje</h1>
</div>
<div class="preview_txt">
<p>
De eerste foto s van actrice Meryl Streep als de Britse voormalig premier Margaret Thatcher
<a href="http://www.guardian.co.uk/film/2011/feb/08/meryl-streep-margaret-thatcher-iron-lady#">
leidden
</a>
vorig jaar al tot een stortvloed aan publiciteit. Nu is
<a href="http://www.imdb.com/title/tt1007029/">
<em>The Iron Lady</em>
</a>
er dan ook echt. Vanaf vandaag draait de film in de Nederlandse bioscopen. Lees hier alle recensies.
<!--more-->
</p>
</div>
</div>
从表面上看,我最喜欢:
var maxHeadLineHeight = Math.max.apply(Math, $("#headline").map(
function(){
return $(this).height();
}
));
console.log("maxHeadLineHeight: "+maxHeadLineHeight);
但这使我:
<编码> UncaultographError: Function.prototype.apply: Arguments list has wrong category
我也试图这样做:
"#headline .preview_txt"
while where at it, setting the height for each headline div will be next but that probably won t be that different (by getting the objects).