aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_advices/admin_advices.tpl
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-09-08 20:46:11 +0000
committervdigital <vdigital@piwigo.org>2008-09-08 20:46:11 +0000
commitb5c5a2aeae0f771da8b04ba29f2cc1b8ec0fe4ae (patch)
treeb5667682bc5891b4aff95c8f24b50970b4698879 /plugins/admin_advices/admin_advices.tpl
parent85ea11bf35c84f1880721147faf1839428333f40 (diff)
Sylvia theme: .content reviewed including hover/active backgrounds.
Some additional jQuery fade in/out functions git-svn-id: http://piwigo.org/svn/trunk@2510 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/admin_advices/admin_advices.tpl')
-rw-r--r--plugins/admin_advices/admin_advices.tpl12
1 files changed, 11 insertions, 1 deletions
diff --git a/plugins/admin_advices/admin_advices.tpl b/plugins/admin_advices/admin_advices.tpl
index 56ca9a85e..7afcaf561 100644
--- a/plugins/admin_advices/admin_advices.tpl
+++ b/plugins/admin_advices/admin_advices.tpl
@@ -60,4 +60,14 @@
</ul>
</div>
</div>
-
+<script type="text/javascript">// <![CDATA[
+{literal}$(document).ready(function() {
+ $("img.thumbnail").fadeTo("slow", 0.6); // Opacity on page load
+ $("img.thumbnail").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