I don't have a live website so I can't give you a link to that.
However, if you look at the ddsmoothmenu code you will find this code.
Code:
$.extend($.fn, {
height: function(){
var obj = this.get(0);
if(this.size() < 1 || arguments.length || obj === window || obj === document){
return jqheight.apply(this, arguments);
}
return parseFloat(document.defaultView.getComputedStyle(obj, null).getPropertyValue('height'));
}
say you make a jquery call like this
Code:
var element = $('#sometable');
var height = $('thead tr:first', element).height();
that call does not return the correct height because the jquery height method does not get called.
Bookmarks