if($(".leftNav ul li:last").height() < 32){ $(".leftNav ul li.last").addClass("lastWithItems");
}
}) work in 1.3.1 but not this $(document).ready(function(){
if($(".leftNav ul li.last").height() < 32){ $(".leftNav ul li.last").addClass("lastWithItems");
}
}) (Notice the li.last on both lines) ??? Also why isnt it explained anywhere :( Another thing why cant i do this function blabla() { } $(document).ready(blabla()) ? and i have to do $(document).ready(function(){}) From what i recall i could do both things in 1.2.6, now with 1.3.1 those seem to be impossible, also why isnt there any mention on the Jquery doc/tutorial pages? :( Thanks <br clear="all">------------------- Alexandru Dinulescu Web Developer (X)HTML/CSS Specialist Expert Guarantee Certified Developer XHTML: <a href="http://www.expertrating.com/transcript.asp?transcriptid=1879053">http://www.expertrating.com/transcript.asp?transcriptid=1879053</a> CSS : <a href="http://www.expertrating.com/transcript.asp?transcriptid=1870619">http://www.expertrating.com/transcript.asp?transcriptid=1870619</a> RentACoder Profile: <a href="http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323">http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323</a> MainWebsite: <a href="http://alexd.adore.ro">http://alexd.adore.ro</a> Portofolio: <a href="http://alexd.adore.ro/project_page.php">http://alexd.adore.ro/project_page.php</a>