MINOR Moved jsparty/hover.js to cms/javascript/hover.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@93569 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-26 03:27:06 +00:00 committed by Sam Minnee
parent 1c28f65882
commit 928529d04b

12
javascript/hover.js Executable file
View File

@ -0,0 +1,12 @@
function hover_over() {
Element.addClassName(this, 'over');
}
function hover_out() {
Element.removeClassName(this, 'over');
}
hover_behaviour = {
onmouseover : hover_over,
onmouseout : hover_out
}