I would like to make metaboxes as fixed elements, removing the expand function and the drag-and-drop function.
deregister the 'postbox' script. Place the following in your theme's
I did a very cursory test and it does stop the dragging and the folding, and I don't notice anything broken.
Deregistering the postbox script seemed a little bit drastic and as mentioned the "Edit" button for the permalink slug does not work as expected anymore.
I actually came up another method which uses filters from Wordpress and the functionality of the jQuery UI sortable plugin allowing to cancel the sort when it is issued from specific element(s) through the cancel option.
Wordpress 3.4.2 uses jQuery UI 1.8.20. Here's the initialization code that is used in postbox.js (I've stripped down the not relevant options):
So the plugin creates a sortable list for elements
Postboxes with the css class