mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-25 02:27:50 +01:00
a7c2aa7f94
git-svn-id: http://svn.automattic.com/wordpress/trunk@9454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
14 lines
533 B
JavaScript
14 lines
533 B
JavaScript
jQuery(document).ready( function($) {
|
|
$('#show-settings-link').click(function () {
|
|
$('#screen-options-wrap').slideToggle('normal', function(){
|
|
if ( $(this).hasClass('screen-options-open') ) {
|
|
$('#show-settings-link').css({'backgroundImage':'url("images/screen-options-right.gif")'});
|
|
$(this).removeClass('screen-options-open');
|
|
} else {
|
|
$('#show-settings-link').css({'backgroundImage':'url("images/screen-options-right-up.gif")'});
|
|
$(this).addClass('screen-options-open');
|
|
}
|
|
});
|
|
return false;
|
|
});
|
|
}); |