1 WYMeditor.SKINS['compact'] = {
5 //move the containers panel to the top area
6 jQuery(wym._options.containersSelector + ', '
7 + wym._options.classesSelector, wym._box)
8 .appendTo( jQuery("div.wym_area_top", wym._box) )
9 .addClass("wym_dropdown")
10 .css({"margin-right": "10px", "width": "120px", "float": "left"});
12 //render following sections as buttons
13 jQuery(wym._options.toolsSelector, wym._box)
14 .addClass("wym_buttons")
15 .css({"margin-right": "10px", "float": "left"});
17 //make hover work under IE < 7
18 jQuery(".wym_section", wym._box).hover(function(){
19 jQuery(this).addClass("hover");
21 jQuery(this).removeClass("hover");
24 var postInit = wym._options.postInit;
25 wym._options.postInit = function(wym) {
27 if(postInit) postInit.call(wym, wym);
30 css: 'background-color: #f0f0f0;'
32 wym.addCssRule( wym._doc.styleSheets[0], rule);