[Yanel-commits] rev 48489 - in public/yanel/trunk/src:
realms/from-scratch-realm-template/data-repo/data/app1/xslt
webapp/htdocs/yanel-js
michi at wyona.com
michi at wyona.com
Wed Apr 7 09:42:01 CEST 2010
Author: michi
Date: 2010-04-07 09:42:01 +0200 (Wed, 07 Apr 2010)
New Revision: 48489
Added:
public/yanel/trunk/src/webapp/htdocs/yanel-js/toolbar-zone.js
Modified:
public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app1/xslt/global.xsl
Log:
code moved into separate file to reuse
Modified: public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app1/xslt/global.xsl
===================================================================
--- public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app1/xslt/global.xsl 2010-04-07 07:34:41 UTC (rev 48488)
+++ public/yanel/trunk/src/realms/from-scratch-realm-template/data-repo/data/app1/xslt/global.xsl 2010-04-07 07:42:01 UTC (rev 48489)
@@ -46,25 +46,9 @@
<xsl:value-of select="/xhtml:html/xhtml:head/xhtml:title"/>
</title>
- <!-- JQuery inclusion -->
+ <!-- Yanel toolbar zone -->
<script type="text/javascript" src="{$yarep.back2realm}{$yanel.reservedPrefix}/yanel-js/jquery/1.2.6/jquery.min.js"></script>
- <!-- Loading the script for the edit button -->
- <script type="text/javascript">
- $(document).ready( function()
- {
- $("#yanelToolbarZone").hover( function()
- {
- $("#yanelToolbarZoneLink").stop().animate({opacity: 1}, 1000, function()
- {
- $("#yanelToolbarZoneLink").fadeIn();
- });
- }
- , function ()
- {
- $("#yanelToolbarZoneLink").stop().fadeOut();
- });
- });
- </script>
+ <script type="text/javascript" src="{$yarep.back2realm}{$yanel.reservedPrefix}/yanel-js/toolbar-zone.js"></script>
<style>
#yanelToolbarZone {
/* Netscape 4, IE 4.x-5.0/Win and other lesser browsers will use this */
Added: public/yanel/trunk/src/webapp/htdocs/yanel-js/toolbar-zone.js
===================================================================
--- public/yanel/trunk/src/webapp/htdocs/yanel-js/toolbar-zone.js (rev 0)
+++ public/yanel/trunk/src/webapp/htdocs/yanel-js/toolbar-zone.js 2010-04-07 07:42:01 UTC (rev 48489)
@@ -0,0 +1,17 @@
+/*
+ Toolbar zone (depends on jquery)
+*/
+$(document).ready( function()
+ {
+ $("#yanelToolbarZone").hover( function()
+ {
+ $("#yanelToolbarZoneLink").stop().animate({opacity: 1}, 1000, function()
+ {
+ $("#yanelToolbarZoneLink").fadeIn();
+ });
+ }
+ , function ()
+ {
+ $("#yanelToolbarZoneLink").stop().fadeOut();
+ });
+});
More information about the Yanel-commits
mailing list