diff options
Diffstat (limited to 'gstudio/static/gstudio/js/wymeditor/skins/minimal/skin.js')
-rw-r--r-- | gstudio/static/gstudio/js/wymeditor/skins/minimal/skin.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gstudio/static/gstudio/js/wymeditor/skins/minimal/skin.js b/gstudio/static/gstudio/js/wymeditor/skins/minimal/skin.js deleted file mode 100644 index af29ed42..00000000 --- a/gstudio/static/gstudio/js/wymeditor/skins/minimal/skin.js +++ /dev/null @@ -1,30 +0,0 @@ -jQuery.fn.selectify = function() { - return this.each(function() { - jQuery(this).hover( - function() { - jQuery("h2", this).css("background-position", "0px -18px"); - jQuery("ul", this).fadeIn("fast"); - }, - function() { - jQuery("h2", this).css("background-position", ""); - jQuery("ul", this).fadeOut("fast"); - } - ); - }); -}; - -WYMeditor.SKINS['minimal'] = { - //placeholder for the skin JS, if needed - - //init the skin - //wym is the WYMeditor.editor instance - init: function(wym) { - - //render following sections as dropdown menus - jQuery(wym._box).find(wym._options.toolsSelector + ', ' + wym._options.containersSelector + ', ' + wym._options.classesSelector) - .addClass("wym_dropdown") - .selectify(); - - - } -}; |