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 [8/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/more-advanced-topics/how-to-07-010-How-to-set-up-the-initial-value-of-a-property-programmatically.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/how-to-07-010-How-to-set-up-the-initial-value-of-a-property-programmatically.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/how-to-07-010-How-to-set-up-the-initial-value-of-a-property-programmatically.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/more-advanced-topics/how-to-07-020-How-to-insert-behaviour-into-the-object-life-cycle.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/how-to-07-020-How-to-insert-behaviour-into-the-object-life-cycle.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/how-to-07-020-How-to-insert-behaviour-into-the-object-life-cycle.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/more-advanced-topics/how-to-07-030-How-to-ensure-object-is-in-valid-state.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/how-to-07-030-How-to-ensure-object-is-in-valid-state.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/how-to-07-030-How-to-ensure-object-is-in-valid-state.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/more-advanced-topics/how-to-07-040-How-to-specify-that-an-object-should-not-be-persisted.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/how-to-07-040-How-to-specify-that-an-object-should-not-be-persisted.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/how-to-07-040-How-to-specify-that-an-object-should-not-be-persisted.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/more-advanced-topics/how-to-07-050-How-to-perform-lazy-loading.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/how-to-07-050-How-to-perform-lazy-loading.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/how-to-07-050-How-to-perform-lazy-loading.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/more-advanced-topics/how-to-07-060-How-to-perform-dirty-object-tracking.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/how-to-07-060-How-to-perform-dirty-object-tracking.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/how-to-07-060-How-to-perform-dirty-object-tracking.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/more-advanced-topics/how-to-08-010-Hiding,-disabling-or-validating-for-specific-users-or-roles.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/how-to-08-010-Hiding,-disabling-or-validating-for-specific-users-or-roles.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/how-to-08-010-Hiding,-disabling-or-validating-for-specific-users-or-roles.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/more-advanced-topics/how-to-08-020-How-to-use-Isis-authorization-manager.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/how-to-08-020-How-to-use-Isis-authorization-manager.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/how-to-08-020-How-to-use-Isis-authorization-manager.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/more-advanced-topics/how-to-09-020-How-to-write-a-typical-domain-service.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/how-to-09-020-How-to-write-a-typical-domain-service.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/how-to-09-020-How-to-write-a-typical-domain-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/more-advanced-topics/how-to-09-030-How-to-use-a-generic-repository.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/how-to-09-030-How-to-use-a-generic-repository.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/how-to-09-030-How-to-use-a-generic-repository.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/more-advanced-topics/how-to-tweak-the-ui-using-css-classes.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/how-to-tweak-the-ui-using-css-classes.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/how-to-tweak-the-ui-using-css-classes.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/more-advanced-topics/metamodel-finetuning-the-programming-model.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/metamodel-finetuning-the-programming-model.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/metamodel-finetuning-the-programming-model.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/more-thanks.html
==============================================================================
--- websites/staging/isis/trunk/content/more-thanks.html (original)
+++ websites/staging/isis/trunk/content/more-thanks.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/other/about.html
==============================================================================
--- websites/staging/isis/trunk/content/other/about.html (original)
+++ websites/staging/isis/trunk/content/other/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/other/dsl.html
==============================================================================
--- websites/staging/isis/trunk/content/other/dsl.html (original)
+++ websites/staging/isis/trunk/content/other/dsl.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/other/eclipse-plugin.html
==============================================================================
--- websites/staging/isis/trunk/content/other/eclipse-plugin.html (original)
+++ websites/staging/isis/trunk/content/other/eclipse-plugin.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/other/jrebel.html
==============================================================================
--- websites/staging/isis/trunk/content/other/jrebel.html (original)
+++ websites/staging/isis/trunk/content/other/jrebel.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/other/maven-plugin.html
==============================================================================
--- websites/staging/isis/trunk/content/other/maven-plugin.html (original)
+++ websites/staging/isis/trunk/content/other/maven-plugin.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/reference/DomainObjectContainer.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/DomainObjectContainer.html (original)
+++ websites/staging/isis/trunk/content/reference/DomainObjectContainer.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/reference/Event.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/Event.html (original)
+++ websites/staging/isis/trunk/content/reference/Event.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/reference/Recognized-Methods-and-Prefixes.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/Recognized-Methods-and-Prefixes.html (original)
+++ websites/staging/isis/trunk/content/reference/Recognized-Methods-and-Prefixes.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/reference/Security.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/Security.html (original)
+++ websites/staging/isis/trunk/content/reference/Security.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/reference/Utility.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/Utility.html (original)
+++ websites/staging/isis/trunk/content/reference/Utility.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/reference/about.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/about.html (original)
+++ websites/staging/isis/trunk/content/reference/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/reference/configuration-files.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/configuration-files.html (original)
+++ websites/staging/isis/trunk/content/reference/configuration-files.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/reference/deployment-type.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/deployment-type.html (original)
+++ websites/staging/isis/trunk/content/reference/deployment-type.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/reference/non-ui/about.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/non-ui/about.html (original)
+++ websites/staging/isis/trunk/content/reference/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/reference/non-ui/background-command-execution.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/non-ui/background-command-execution.html (original)
+++ websites/staging/isis/trunk/content/reference/non-ui/background-command-execution.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/reference/non-ui/isis-session-template.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/non-ui/isis-session-template.html (original)
+++ websites/staging/isis/trunk/content/reference/non-ui/isis-session-template.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/reference/object-lifecycle-callbacks.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/object-lifecycle-callbacks.html (original)
+++ websites/staging/isis/trunk/content/reference/object-lifecycle-callbacks.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/reference/recognized-annotations/ActionOrder.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/ActionOrder.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/ActionOrder.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/reference/recognized-annotations/ActionSemantics.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/ActionSemantics.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/ActionSemantics.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/reference/recognized-annotations/Aggregated.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/Aggregated.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/Aggregated.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/reference/recognized-annotations/Audited.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/Audited.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/Audited.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">