2011-11-11 12 views
1

jqTransformプラグインを使用して、ページのフォームアイテムにスタイリングを追加しています。 タブには3つのフォームがあり、2番目と3番目のタブのセレクトボックスが正しく機能していません。jqTransformプラグインを使用しているバグ

何らかの理由で、スクリプトがこれらの選択ボックスのリストに「高さ:0」を適用しているようです。このアクションを処理するコードは次のとおりです。

// Calculate the height if necessary, less elements that the default height 
//show the ul to calculate the block, if ul is not displayed li height value is 0 
$ul.css({display:'block',visibility:'hidden'}); 
var iSelectHeight = ($('li',$ul).length)*($('li:first',$ul).height());//+1 else bug ff 
(iSelectHeight < $ul.height()) && $ul.css({height:iSelectHeight,'overflow':'hidden'});//hidden else bug with ff 
$ul.css({display:'none',visibility:'visible'}); 

なぜこのようなことが起こっているのか分かりません。それは私の作品

答えて

-1

コメントアウト行

(iSelectHeight < $ul.height()) && $ul.css({height:iSelectHeight,'overflow':'hidden'}) 

関連する問題