Lines 96-107
$( document ).ready( function () {
Link Here
|
96 |
} ); |
96 |
} ); |
97 |
|
97 |
|
98 |
$( '.prefs-tab .expand-textarea' ).show().click( function () { |
98 |
$( '.prefs-tab .expand-textarea' ).show().click( function () { |
99 |
$( this ).hide().nextAll( 'textarea, input[type=submit]' ) |
99 |
$( this ).hide().nextAll( 'textarea, input[type=submit], a' ) |
100 |
.animate( { height: 'show', queue: false } ) |
100 |
.animate( { height: 'show', queue: false } ) |
101 |
.animate( { opacity: 1 } ); |
101 |
.animate( { opacity: 1 } ); |
102 |
|
102 |
|
103 |
return false; |
103 |
return false; |
104 |
} ).nextAll( 'textarea, input[type=submit]' ).hide().css( { opacity: 0 } ); |
104 |
} ).nextAll( 'textarea, input[type=submit]' ).hide().css( { opacity: 0 } ); |
|
|
105 |
|
106 |
$( '.prefs-tab .collapse-textarea' ).hide().click( function () { |
107 |
$( this ).show().prevAll( 'textarea, input[type=submit]' ) |
108 |
.animate( { height: 'hide', queue: false } ) |
109 |
.animate( { opacity: 0 } ); |
110 |
|
111 |
$( this ).hide().prevAll( 'a' ).show(); |
112 |
return false; |
113 |
}); |
114 |
|
105 |
|
115 |
|
106 |
$("h3").attr("class","expanded").attr("title",MSG_CLICK_TO_EXPAND); |
116 |
$("h3").attr("class","expanded").attr("title",MSG_CLICK_TO_EXPAND); |
107 |
var collapsible = $(".collapsed,.expanded"); |
117 |
var collapsible = $(".collapsed,.expanded"); |