]> git.mxchange.org Git - friendica.git/commitdiff
modified: view/theme/smoothly/default.php
authorpixelroot <info@pixelbits.de>
Tue, 23 Oct 2012 08:22:39 +0000 (10:22 +0200)
committerpixelroot <info@pixelbits.de>
Tue, 23 Oct 2012 08:22:39 +0000 (10:22 +0200)
modified:   view/theme/smoothly/nav.tpl
modified:   view/theme/smoothly/style.css
new file:   view/theme/smoothly/tobottom.png

view/theme/smoothly/default.php
view/theme/smoothly/nav.tpl
view/theme/smoothly/style.css
view/theme/smoothly/tobottom.png [new file with mode: 0644]

index a136a82d3529cddde879672aa4329534ba7feb94..785e543a96138e5cc5188e41637ccb4f00ca20da 100644 (file)
@@ -3,6 +3,11 @@
 <head>
   <title><?php if(x($page,'title')) echo $page['title'] ?></title>
   <script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
+  <script type="text/javascript">
+       function ScrollToBottom(){
+       window.scrollTo(0,document.body.scrollHeight);
+       }
+  </script>
   <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
 </head>
 <body>
index d7dd6aeebeb7e96c05e84227f298f572b8a78f4c..03d4df50842160196b4141e32ff87b1486e3b4f2 100644 (file)
@@ -57,7 +57,8 @@
 </nav>
 
 <div id="scrollup" >
-<a href="javascript:scrollTo(0,0)"><img src="view/theme/smoothly/totop.png" alt="back to top" title="Back to top" /></a>
+<a href="javascript:scrollTo(0,0)"><img src="view/theme/smoothly/totop.png" alt="to top" title="to top" /></a><br />
+<a href="javascript:ScrollToBottom()"><img src="view/theme/smoothly/tobottom.png" alt="to bottom" title="to bottom" /></a>
 </div>
 
 <ul id="nav-notifications-template" style="display:none;" rel="template">
index e92621ad3f4919eb83cbb19c3bb0cf1632e5e970..fcd532e387e891278bdc674d2935df1887f8d8ea 100644 (file)
@@ -613,6 +613,7 @@ aside a {
        font-size: 1.4em;
        font-weight: bold;
        border-bottom: none;
+       margin-top:10px;
 }
 
 .vcard #profile-photo-wrapper {
diff --git a/view/theme/smoothly/tobottom.png b/view/theme/smoothly/tobottom.png
new file mode 100644 (file)
index 0000000..520f2da
Binary files /dev/null and b/view/theme/smoothly/tobottom.png differ