Sha256: b65431d9bf9495d2c3a8e3b168cb8342acd4c95a47590b3ebea7d1a8e3fe5ac7
Contents?: true
Size: 1.4 KB
Versions: 47
Compression:
Stored size: 1.4 KB
Contents
WYMeditor.SKINS['refinery'] = { init: function(wym) { //render following sections as buttons $(wym._box).find(wym._options.toolsSelector) .addClass('wym_buttons'); // 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'); }); // show or hide CSS class options on hover $(wym._box).find('.wym_tools_class') .hover($.proxy(function(){ this.toggleClassSelector(); }, wym), $.proxy(function(){ this.toggleClassSelector(); }, wym)); // adjust sizing $(wym._box).css('width', $(wym._element).width() - 2) .find('.wym_iframe iframe').css('width', $(wym._box).width() - 2); $('.button').corner('6px'); $(".wym_area_top li>a").corner("2px"); $(".wym_skin_refinery").animate({ opacity: 1 }, 800); } };
Version data entries
47 entries across 47 versions & 5 rubygems