[wp-trac] [WordPress Trac] #6164: Extend Clickable Area For
Expanding/Collapsing Post Options
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 11 19:18:15 GMT 2008
#6164: Extend Clickable Area For Expanding/Collapsing Post Options
----------------------------+-----------------------------------------------
Reporter: ryanfitzer | Owner: anonymous
Type: enhancement | Status: new
Priority: low | Milestone: 2.5
Component: Administration | Version: 2.5
Severity: minor | Keywords:
----------------------------+-----------------------------------------------
The current implementation for expanding/contracting post options/advanced
options gives the user a very small target. Allowing the user to click the
entire h3 would be more user friendly.
Since I'm not sure how create a patch, the suggested code changes are
below:
File: postbox.js line 2 changed to:
{{{
jQuery('.postbox h3').click( function() {
jQuery(jQuery(this).parent().get(0)).toggleClass('closed');
save_postboxes_state(page); } );
}}}
File: wp-admin.css add rule under the rule on line 896:
{{{
.postbox h3 {
cursor:pointer;
}
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/6164>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list