Changeset 8753
- Timestamp:
- 08/27/2008 07:49:08 PM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-link-form.php
r8700 r8753 303 303 <div id="poststuff"> 304 304 305 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Show Settings') ?></a> 306 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Settings') ?></a></div> 307 308 <div id="edit-settings" class="hide-if-js hide-if-no-js"> 309 <div id="edit-settings-wrap"> 310 <h5><?php _e('Show on screen') ?></h5> 311 <div class="metabox-prefs"> 312 <?php meta_box_prefs('link') ?> 313 <br class="clear" /> 314 </div></div> 315 </div> 316 305 317 <div id="side-info-column" class="inner-sidebar"> 306 318 <?php -
trunk/wp-admin/js/link.js
r8691 r8753 1 jQuery(document).ready( function( ) {1 jQuery(document).ready( function($) { 2 2 // close postboxes that should be closed 3 3 jQuery('.if-js-closed').removeClass('if-js-closed').addClass('closed'); … … 49 49 } ); 50 50 jQuery('.categorychecklist :checkbox').change( syncChecks ).filter( ':checked' ).change(); 51 52 // Edit Settings 53 $('#show-settings-link').click(function () { 54 $('#edit-settings').slideDown('normal', function(){ 55 $('#show-settings-link').hide(); 56 $('#hide-settings-link').show(); 57 58 }); 59 $('#show-settings').addClass('show-settings-opened'); 60 return false; 61 }); 62 63 $('#hide-settings-link').click(function () { 64 $('#edit-settings').slideUp('normal', function(){ 65 $('#hide-settings-link').hide(); 66 $('#show-settings-link').show(); 67 $('#show-settings').removeClass('show-settings-opened'); 68 }); 69 70 return false; 71 }); 51 72 });
Note: See TracChangeset
for help on using the changeset viewer.