You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2014/02/19 15:42:19 UTC

svn commit: r898527 [2/11] - in /websites/staging/isis/trunk: cgi-bin/ content/ content/archetypes/ content/archetypes/release-notes/ content/components/ content/components/objectstores/ content/components/objectstores/jdo/ content/components/objectsto...

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/mapping-joda-dates.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/mapping-joda-dates.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/mapping-joda-dates.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/mapping-mandatory-and-optional-properties.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/mapping-mandatory-and-optional-properties.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/mapping-mandatory-and-optional-properties.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/non-ui/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/non-ui/about.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/non-ui/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/non-ui/background-command-execution-jdo.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/non-ui/background-command-execution-jdo.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/non-ui/background-command-execution-jdo.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/persistence_xml.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/persistence_xml.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/persistence_xml.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/release-notes/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/release-notes/about.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/release-notes/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/release-notes/isis-objectstore-jdo-1.0.0.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/release-notes/isis-objectstore-jdo-1.0.0.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/release-notes/isis-objectstore-jdo-1.0.0.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/release-notes/isis-objectstore-jdo-1.1.0.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/release-notes/isis-objectstore-jdo-1.1.0.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/release-notes/isis-objectstore-jdo-1.1.0.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/release-notes/isis-objectstore-jdo-1.3.0.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/release-notes/isis-objectstore-jdo-1.3.0.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/release-notes/isis-objectstore-jdo-1.3.0.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/about.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/auditing-service-jdo.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/auditing-service-jdo.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/auditing-service-jdo.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/background-command-service-jdo.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/background-command-service-jdo.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/background-command-service-jdo.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/command-service-jdo.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/command-service-jdo.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/command-service-jdo.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/exception-recognizers-jdo.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/exception-recognizers-jdo.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/exception-recognizers-jdo.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/isisjdosupport-service.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/isisjdosupport-service.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/isisjdosupport-service.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/publishing-service-jdo.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/publishing-service-jdo.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/publishing-service-jdo.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/services/settings-services-jdo.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/services/settings-services-jdo.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/services/settings-services-jdo.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/jdo/using-jndi-datasource.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/jdo/using-jndi-datasource.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/jdo/using-jndi-datasource.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/nosql/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/nosql/about.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/nosql/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/nosql/release-notes/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/nosql/release-notes/about.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/nosql/release-notes/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/sql/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/sql/about.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/sql/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/sql/configuring-the-sql-os-objectstore-with-the-quickstart-archetype.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/sql/configuring-the-sql-os-objectstore-with-the-quickstart-archetype.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/sql/configuring-the-sql-os-objectstore-with-the-quickstart-archetype.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/sql/release-notes/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/sql/release-notes/about.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/sql/release-notes/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/xml/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/xml/about.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/xml/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/objectstores/xml/release-notes/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/objectstores/xml/release-notes/about.html (original)
+++ websites/staging/isis/trunk/content/components/objectstores/xml/release-notes/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/profilestores/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/profilestores/about.html (original)
+++ websites/staging/isis/trunk/content/components/profilestores/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/profilestores/sql/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/profilestores/sql/about.html (original)
+++ websites/staging/isis/trunk/content/components/profilestores/sql/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/profilestores/sql/release-notes/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/profilestores/sql/release-notes/about.html (original)
+++ websites/staging/isis/trunk/content/components/profilestores/sql/release-notes/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/profilestores/xml/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/profilestores/xml/about.html (original)
+++ websites/staging/isis/trunk/content/components/profilestores/xml/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/profilestores/xml/release-notes/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/profilestores/xml/release-notes/about.html (original)
+++ websites/staging/isis/trunk/content/components/profilestores/xml/release-notes/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/progmodels/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/progmodels/about.html (original)
+++ websites/staging/isis/trunk/content/components/progmodels/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/progmodels/groovy/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/progmodels/groovy/about.html (original)
+++ websites/staging/isis/trunk/content/components/progmodels/groovy/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/progmodels/groovy/release-notes/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/progmodels/groovy/release-notes/about.html (original)
+++ websites/staging/isis/trunk/content/components/progmodels/groovy/release-notes/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../../../images/favicon.ico">

Modified: websites/staging/isis/trunk/content/components/security/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/security/about.html (original)
+++ websites/staging/isis/trunk/content/components/security/about.html Wed Feb 19 14:42:14 2014
@@ -160,11 +160,13 @@
             font-style: italic;
         }
         
+        /*
         .documentation a[name] {
              padding-top: 80px;
              margin-top: -80px;
-             /* display: inline-block; required for webkit browsers */
+             display: inline-block; 
         }
+        */
         
     </style>
     <script type="text/javascript">
@@ -187,6 +189,46 @@
                   'width=800,height=526');
       };
     </script>
+    <script type="text/javascript">
+    
+    // http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
+    /**
+      * Check an href for an anchor. If exists, and in document, scroll to it.
+      * If href argument omitted, assumes context (this) is HTML Element,
+      * which will be the case when invoked by jQuery after an event
+      */
+    function scroll_if_anchor(href) {
+        href = typeof(href) == "string" ? href : $(this).attr("href");
+
+        // If href missing, ignore
+        if(!href) return false;
+
+        // You could easily calculate this dynamically if you prefer
+        var fromTop = 50;
+
+        // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo)
+        // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174
+        if(href.charAt(0) == "#") {
+            var $target = $(href);
+
+            // Older browsers without pushState might flicker here, as they momentarily
+            // jump to the wrong position (IE < 10)
+            if($target.length) {
+                $('html, body').animate({ scrollTop: $target.offset().top - fromTop });
+                if(history && "pushState" in history) {
+                    history.pushState({}, document.title, window.location.pathname + href);
+                    return false;
+                }
+            }
+        }
+    }    
+
+    // When our page loads, check to see if it contains and anchor
+    scroll_if_anchor(window.location.hash);
+
+    // Intercept all anchor clicks
+    $("body").on("click", "a", scroll_if_anchor);
+    </script>
 
     <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="./../../images/favicon.ico">