Changeset 6578
- Timestamp:
- 01/09/2008 07:52:30 AM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/post.js
r6577 r6578 53 53 } 54 54 55 function add_postbox_toggles() { 56 jQuery('.postbox h3').prepend('<a class="togbox">+</a> '); 57 jQuery('.togbox').click( function() { jQuery(jQuery(this).parent().parent().get(0)).toggleClass('closed'); } ); 58 } 59 55 60 addLoadEvent( function() { 56 61 jQuery('#tags-input').hide(); … … 75 80 // auto-suggest stuff 76 81 jQuery('#newtag').suggest( 'admin-ajax.php?action=ajax-tag-search', { onSelect: tag_flush_to_text, delay: 500, minchars: 2 } ); 82 add_postbox_toggles(); 77 83 }); -
trunk/wp-admin/wp-admin.css
r6576 r6578 1177 1177 } 1178 1178 1179 #poststuff h2 { 1180 margin-bottom: 20px; 1181 } 1182 1179 1183 #poststuff h3 { 1180 1184 background: #eaf3fa; … … 1243 1247 } 1244 1248 1249 #poststuff .togbox { 1250 background-color:#b2b2b2; 1251 background-image:url(images/toggle-arrow.gif); 1252 background-position:-10px 18px; 1253 background-repeat:no-repeat; 1254 display:block; 1255 height:44px; 1256 margin-left:-19px; 1257 margin-top:-13px; 1258 overflow:hidden; 1259 position:absolute; 1260 text-indent:-9999px; 1261 width:12px; 1262 -moz-border-radius-topleft: 2px; 1263 -moz-border-radius-bottomleft: 3px; 1264 } 1265 1266 #poststuff .closed .inside { 1267 display: none; 1268 } 1269 1270 #poststuff .closed h3 { 1271 margin: 0; 1272 } 1273 1274 #poststuff .closed .togbox { 1275 background-color:#2583ad; 1276 background-image:url(images/toggle-arrow.gif); 1277 background-position: 5px 18px; 1278 }
Note: See TracChangeset
for help on using the changeset viewer.