Wordpress/wp-admin/js/links.js
Ryan Boren e97af14335 Column hiding for links. see #7725
git-svn-id: https://develop.svn.wordpress.org/trunk@8888 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-14 06:51:42 +00:00

24 lines
604 B
JavaScript

jQuery(document).ready( function($) {
columns.init('link');
// Edit Settings
$('#show-settings-link').click(function () {
$('#edit-settings').slideDown('normal', function(){
$('#show-settings-link').hide();
$('#hide-settings-link').show();
});
$('#show-settings').addClass('show-settings-opened');
return false;
});
$('#hide-settings-link').click(function () {
$('#edit-settings').slideUp('normal', function(){
$('#hide-settings-link').hide();
$('#show-settings-link').show();
$('#show-settings').removeClass('show-settings-opened');
});
return false;
});
});