By balaftuna on
Hi.
Trying to solve the problem with IE7 displaying select boxes at the size of the select box, and not the content.
Found this: http://css-tricks.com/select-cuts-off-options-in-ie-fix/
but it starts with "I was already using JQuery so". I saw a lot of JQuery modules, but which one should I install for this to work?
Here's the code from the link above:
$(function() {
$(".ProductAttributesSelect")
.mouseover(function(){
$(this)
.data("origWidth", $(this).css("width"))
.css("width", "auto");
})
.mouseout(function(){
$(this).css("width", $(this).data("origWidth"));
});
});
Thanking you.
Shay.
Comments
jquery library ships with
jquery library ships with drupal. The jquery modules in contrib are addons built that interact with the current library.
Drupal 6.x ships with jquery 1.2.6, I believe.
To use jQuery 1.3.2 you would install jquery_update.module