mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Help tab
git-svn-id: https://develop.svn.wordpress.org/trunk@9545 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,14 +1,31 @@
|
||||
jQuery(document).ready( function($) {
|
||||
$('#show-settings-link').click(function () {
|
||||
$('#screen-options-wrap').slideToggle('normal', function(){
|
||||
$('#screen-options-wrap').slideToggle('fast', function(){
|
||||
if ( $(this).hasClass('screen-options-open') ) {
|
||||
$('#show-settings-link').css({'backgroundImage':'url("images/screen-options-right.gif")'});
|
||||
$('#contextual-help-link-wrap').removeClass('invisible');
|
||||
$(this).removeClass('screen-options-open');
|
||||
|
||||
} else {
|
||||
$('#show-settings-link').css({'backgroundImage':'url("images/screen-options-right-up.gif")'});
|
||||
$('#contextual-help-link-wrap').addClass('invisible');
|
||||
$(this).addClass('screen-options-open');
|
||||
}
|
||||
});
|
||||
return false;
|
||||
}).parent();
|
||||
$('#contextual-help-link').click(function () {
|
||||
$('#contextual-help-wrap').slideToggle('fast', function(){
|
||||
if ( $(this).hasClass('contextual-help-open') ) {
|
||||
$('#contextual-help-link').css({'backgroundImage':'url("images/screen-options-right.gif")'});
|
||||
$('#screen-options-link-wrap').removeClass('invisible');
|
||||
$(this).removeClass('contextual-help-open');
|
||||
} else {
|
||||
$('#contextual-help-link').css({'backgroundImage':'url("images/screen-options-right-up.gif")'});
|
||||
$('#screen-options-link-wrap').addClass('invisible');
|
||||
$(this).addClass('contextual-help-open');
|
||||
}
|
||||
});
|
||||
return false;
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user