Sha256: 823efa192d50d5e2963f7567a4e2a0af81c212ca96f4b3abf43ef9c6578d26a4
Contents?: true
Size: 1.14 KB
Versions: 35
Compression:
Stored size: 1.14 KB
Contents
WYMeditor.SKINS['refinery'] = { init: function(wym) { //render following sections as panels /* $(wym._box).find(wym._options.classesSelector) .addClass("wym_panel"); */ //render following sections as buttons $(wym._box).find(wym._options.toolsSelector) .addClass("wym_buttons"); //render following sections as dropdown menus /* $(wym._box).find(wym._options.classesSelector) .addClass("wym_dropdown") .find(WYMeditor.H2) .append("<span> ></span>"); */ // auto add some margin to the main area sides if left area // or right area are not empty (if they contain sections) $(wym._box).find("div.wym_area_right ul") .parents("div.wym_area_right").show() .parents(wym._options.boxSelector) .find("div.wym_area_main") .css({"margin-right": "155px"}); $(wym._box).find("div.wym_area_left ul") .parents("div.wym_area_left").show() .parents(wym._options.boxSelector) .find("div.wym_area_main") .css({"margin-left": "155px"}); //make hover work under IE < 7 $(wym._box).find(".wym_section").hover(function(){ $(this).addClass("hover"); },function(){ $(this).removeClass("hover"); }); } };
Version data entries
35 entries across 35 versions & 2 rubygems