aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/template/yoga/admin/element_set_unit.tpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/admin/template/yoga/admin/element_set_unit.tpl b/admin/template/yoga/admin/element_set_unit.tpl
index 34366fada..40e1c1863 100644
--- a/admin/template/yoga/admin/element_set_unit.tpl
+++ b/admin/template/yoga/admin/element_set_unit.tpl
@@ -91,3 +91,15 @@
{/if}
</form>
+
+<script type="text/javascript">// <![CDATA[
+{literal}$(document).ready(function() {
+ $(".elementEdit img").fadeTo("slow", 0.6); // Opacity on page load
+ $(".elementEdit img").hover(function(){
+ $(this).fadeTo("slow", 1.0); // Opacity on hover
+ },function(){
+ $(this).fadeTo("slow", 0.6); // Opacity on mouseout
+ });
+});{/literal}
+// ]]>
+</script> \ No newline at end of file