mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
13 lines
203 B
JavaScript
13 lines
203 B
JavaScript
|
function hover_over() {
|
||
|
Element.addClassName(this, 'over');
|
||
|
}
|
||
|
function hover_out() {
|
||
|
Element.removeClassName(this, 'over');
|
||
|
}
|
||
|
|
||
|
hover_behaviour = {
|
||
|
onmouseover : hover_over,
|
||
|
onmouseout : hover_out
|
||
|
}
|
||
|
|