mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
1c28f65882
commit
928529d04b
12
javascript/hover.js
Executable file
12
javascript/hover.js
Executable 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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user