You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2013/10/15 01:48:19 UTC

svn commit: r1532147 - /isis/site/trunk/templates/screenshot-tutorial.html

Author: danhaywood
Date: Mon Oct 14 23:48:19 2013
New Revision: 1532147

URL: http://svn.apache.org/r1532147
Log:
screenshot tutorial

Modified:
    isis/site/trunk/templates/screenshot-tutorial.html

Modified: isis/site/trunk/templates/screenshot-tutorial.html
URL: http://svn.apache.org/viewvc/isis/site/trunk/templates/screenshot-tutorial.html?rev=1532147&r1=1532146&r2=1532147&view=diff
==============================================================================
--- isis/site/trunk/templates/screenshot-tutorial.html (original)
+++ isis/site/trunk/templates/screenshot-tutorial.html Mon Oct 14 23:48:19 2013
@@ -27,7 +27,7 @@
 
 <div class="row">
   <div class="col-md-3">
-    <div  id="sidebar" data-spy="affix" data-offset-top="400" data-offset-bottom="200">
+    <div  id="myAffix" xxxdata-spy="affix" xxxdata-offset-top="400" xxxdata-offset-bottom="200">
       <ul class="nav bs-sidenav">
         
         <li class="active">
@@ -445,4 +445,18 @@
   </div>
 </div>
 
+<script>
+  $(document).ready(function(){
+    $('#myAffix').affix({
+        offset: {
+          top: 100
+        , bottom: function () {
+            return (this.bottom = $('.bs-footer').outerHeight(true))
+          }
+        }
+      });
+  });
+</script>
+
+
 {% endblock %}