diff options
Diffstat (limited to 'websdk/static/js/wymeditor/plugins/hovertools/.svn')
-rw-r--r-- | websdk/static/js/wymeditor/plugins/hovertools/.svn/entries | 62 | ||||
-rw-r--r-- | websdk/static/js/wymeditor/plugins/hovertools/.svn/text-base/jquery.wymeditor.hovertools.js.svn-base | 57 |
2 files changed, 0 insertions, 119 deletions
diff --git a/websdk/static/js/wymeditor/plugins/hovertools/.svn/entries b/websdk/static/js/wymeditor/plugins/hovertools/.svn/entries deleted file mode 100644 index dcb85a5..0000000 --- a/websdk/static/js/wymeditor/plugins/hovertools/.svn/entries +++ /dev/null @@ -1,62 +0,0 @@ -10 - -dir -677 -svn://svn.wymeditor.org/wymeditor/trunk/src/wymeditor/plugins/hovertools -svn://svn.wymeditor.org/wymeditor - - - -2009-05-27T19:20:55.910061Z -632 -jf.hovinne - - - - - - - - - - - - - - -89e89e35-0a13-0410-8f61-920bba073fa9 - -jquery.wymeditor.hovertools.js -file - - - - -2011-07-13T16:45:39.000000Z -9128791ae94a2438f6f6f751204e9827 -2009-05-27T19:20:55.910061Z -632 -jf.hovinne - - - - - - - - - - - - - - - - - - - - - -1644 - diff --git a/websdk/static/js/wymeditor/plugins/hovertools/.svn/text-base/jquery.wymeditor.hovertools.js.svn-base b/websdk/static/js/wymeditor/plugins/hovertools/.svn/text-base/jquery.wymeditor.hovertools.js.svn-base deleted file mode 100644 index 2c71ba5..0000000 --- a/websdk/static/js/wymeditor/plugins/hovertools/.svn/text-base/jquery.wymeditor.hovertools.js.svn-base +++ /dev/null @@ -1,57 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * jquery.wymeditor.hovertools.js - * hovertools plugin for WYMeditor - * - * File Authors: - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) - */ - -//Extend WYMeditor -WYMeditor.editor.prototype.hovertools = function() { - - var wym = this; - - //bind events on buttons - jQuery(this._box).find(this._options.toolSelector).hover( - function() { - wym.status(jQuery(this).html()); - }, - function() { - wym.status(' '); - } - ); - - //classes: add/remove a style attr to matching elems - //while mouseover/mouseout - jQuery(this._box).find(this._options.classSelector).hover( - function() { - var aClasses = eval(wym._options.classesItems); - var sName = jQuery(this).attr(WYMeditor.NAME); - var oClass = WYMeditor.Helper.findByName(aClasses, sName); - - if(oClass){ - jqexpr = oClass.expr; - //don't use jQuery.find() on the iframe body - //because of MSIE + jQuery + expando issue (#JQ1143) - if(!jQuery.browser.msie) - jQuery(wym._doc).find(jqexpr).css('background-color','#cfc'); - } - }, - function() { - //don't use jQuery.find() on the iframe body - //because of MSIE + jQuery + expando issue (#JQ1143) - if(!jQuery.browser.msie) - jQuery(wym._doc).find('*').removeAttr('style'); - } - ); - -}; |