fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15942] more on template


From: sigurdne
Subject: [Fmsystem-commits] [15942] more on template
Date: Thu, 3 Nov 2016 08:53:23 +0000 (UTC)

Revision: 15942
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15942
Author:   sigurdne
Date:     2016-11-03 08:53:23 +0000 (Thu, 03 Nov 2016)
Log Message:
-----------
more on template

Modified Paths:
--------------
    trunk/bookingfrontend/css/bookingfrontend.css
    trunk/bookingfrontend/js/bookingfrontend/search.js
    trunk/bookingfrontend/templates/base/search.xsl

Added Paths:
-----------
    trunk/phpgwapi/templates/pure/images/arrow34.png

Modified: trunk/bookingfrontend/css/bookingfrontend.css
===================================================================
--- trunk/bookingfrontend/css/bookingfrontend.css       2016-11-02 17:42:11 UTC 
(rev 15941)
+++ trunk/bookingfrontend/css/bookingfrontend.css       2016-11-03 08:53:23 UTC 
(rev 15942)
@@ -738,3 +738,16 @@
 .dataTable th,
 .dataTable .th {background-color: transparent;}
 .dataTable {text-align: initial;}
+
+.scrollup {
+    position: fixed;
+    bottom: 50px;
+    right: 10px;
+    display: none;
+    text-indent: -9999px;
+       width: 50px;
+       height: 50px;
+       background-repeat: no-repeat;
+       background-image: 
url("../../phpgwapi/templates/pure/images/arrow34.png");
+}
+

Modified: trunk/bookingfrontend/js/bookingfrontend/search.js
===================================================================
--- trunk/bookingfrontend/js/bookingfrontend/search.js  2016-11-02 17:42:11 UTC 
(rev 15941)
+++ trunk/bookingfrontend/js/bookingfrontend/search.js  2016-11-03 08:53:23 UTC 
(rev 15942)
@@ -18,6 +18,21 @@
                autoOpen: false
        });
 
+       $(window).scroll(function () {
+        if ($(this).scrollTop() > 100) {
+            $('.scrollup').fadeIn();
+        } else {
+            $('.scrollup').fadeOut();
+        }
+    });
+
+    $('.scrollup').click(function () {
+        $("html, body").animate({
+            scrollTop: 0
+        }, 600);
+        return false;
+    });
+
        update_autocompleteHelper = function ()
        {
                oArgs = {

Modified: trunk/bookingfrontend/templates/base/search.xsl
===================================================================
--- trunk/bookingfrontend/templates/base/search.xsl     2016-11-02 17:42:11 UTC 
(rev 15941)
+++ trunk/bookingfrontend/templates/base/search.xsl     2016-11-03 08:53:23 UTC 
(rev 15942)
@@ -22,6 +22,10 @@
                </div>
        </div>
        <div class="content">
+                <a href="#" class="scrollup">
+                       <xsl:value-of select="php:function('lang', 'scroll to 
top')" />
+                </a>
+
                <form method="GET" id="search">
                        <input type="hidden" id="menuaction" name="menuaction" 
value="bookingfrontend.uisearch.index" />
                        <!--input type="hidden" id="activity_top_level" 
name="activity_top_level" value="{activity_top_level}" /-->

Added: trunk/phpgwapi/templates/pure/images/arrow34.png
===================================================================
(Binary files differ)


Property changes on: trunk/phpgwapi/templates/pure/images/arrow34.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream




reply via email to

[Prev in Thread] Current Thread [Next in Thread]