Subversion Repositories My Stuff

Compare Revisions

Ignore whitespace Rev 2 → Rev 3

/trunk/JavaScripts/mouse_toggle.js
0,0 → 1,20
#######################################################################
# This script is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# Author: Andrzej Kardaƛ
# License: GPLv3
# The full version of the licencse can be obtainted by visiting:
# http://www.gnu.org/licenses/gpl.html
#######################################################################
$(document).ready(function(){
$('div.mouse_toggle').each(function(){
var $content = $(this).find('div.toggle_on_mouse_content:first');
$(this).mouseenter(function(){
$content.slideDown("slow");
}).mouseleave(function(){
$content.slideUp("slow");
});
});
});
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property