Script without jquery ui

I have make a script for make columns the same height. This is my script:

function equalHeight(group) {
   tallest = 0;
   group.each(function() {
      thisHeight = $(this).outerHeight();
      if(thisHeight > tallest) {
         tallest = thisHeight;

equalHeight($(".list-links li"));

But i have a problem. In my website, i use jquery ui core. But i want delete that jquery ui. But if I remove the jquery ui. Then this script does not work anymore. Why?

Thanks for helping.


jQuery's .outerHeight doesn't work as a setter method as you can see from the documentation. So, this line of code


doesn't have any effect without jQuery UI.

jQuery UI wraps .inner* and .outer* methods and extend them with a setter method as you can see in the excerpt below from jquery.ui.core.js.

$.fn[ "outer" + name] = function( size, margin ) {
  if ( typeof size !== "number" ) {
    return orig[ "outer" + name ].call( this, size );

  return this.each(function() {
    $( this).css( type, reduce( this, size, true, margin ) + "px" );

These setters, for instance .outerHeight, sets the height of the element without the padding, border and optionally the margin.

Need Your Help

How do i send an additional parameter to my MVCGrid.Net RetrieveDataMethod?


I'm using ( First of all, fantastic grid tool! I have my grid working properly, however when i'm populating my grid I need to pass an additional parameter to my

Conditional Number Formatting In Java

java java1.4

How can I format Floats in Java so that the float component is displayed only if it's not zero? For example:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.