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 [10/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/objectst...

Modified: websites/staging/isis/trunk/content/reference/recognized-annotations/Parseable.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/Parseable.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/Parseable.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/Plural.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/Plural.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/Plural.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/Programmatic.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/Programmatic.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/Programmatic.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/Prototype.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/Prototype.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/Prototype.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/PublishedAction.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/PublishedAction.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/PublishedAction.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/PublishedObject.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/PublishedObject.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/PublishedObject.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/QueryOnly-deprecated.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/QueryOnly-deprecated.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/QueryOnly-deprecated.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/RegEx.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/RegEx.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/RegEx.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/Render.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/Render.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/Render.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/RequestScoped.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/RequestScoped.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/RequestScoped.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/Resolve.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/Resolve.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/Resolve.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/SortedBy.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/SortedBy.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/SortedBy.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/Title.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/Title.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/Title.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/TypeOf.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/TypeOf.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/TypeOf.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/TypicalLength.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/TypicalLength.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/TypicalLength.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/Value.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/Value.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/Value.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/about.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/recognized-annotations/about.html (original)
+++ websites/staging/isis/trunk/content/reference/recognized-annotations/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/services/01-Clock.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/01-Clock.html (original)
+++ websites/staging/isis/trunk/content/reference/services/01-Clock.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/services/02-Profiles.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/02-Profiles.html (original)
+++ websites/staging/isis/trunk/content/reference/services/02-Profiles.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/services/about.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/about.html (original)
+++ websites/staging/isis/trunk/content/reference/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/reference/services/auditing-service.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/auditing-service.html (original)
+++ websites/staging/isis/trunk/content/reference/services/auditing-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/reference/services/background-service.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/background-service.html (original)
+++ websites/staging/isis/trunk/content/reference/services/background-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/reference/services/bookmark-service.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/bookmark-service.html (original)
+++ websites/staging/isis/trunk/content/reference/services/bookmark-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/reference/services/bulk-interaction.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/bulk-interaction.html (original)
+++ websites/staging/isis/trunk/content/reference/services/bulk-interaction.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/services/command-context.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/command-context.html (original)
+++ websites/staging/isis/trunk/content/reference/services/command-context.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/services/developer-utilities-service.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/developer-utilities-service.html (original)
+++ websites/staging/isis/trunk/content/reference/services/developer-utilities-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/reference/services/exception-recognizers.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/exception-recognizers.html (original)
+++ websites/staging/isis/trunk/content/reference/services/exception-recognizers.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/services/memento-service.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/memento-service.html (original)
+++ websites/staging/isis/trunk/content/reference/services/memento-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/reference/services/publishing-service.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/publishing-service.html (original)
+++ websites/staging/isis/trunk/content/reference/services/publishing-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/reference/services/query-results-cache.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/query-results-cache.html (original)
+++ websites/staging/isis/trunk/content/reference/services/query-results-cache.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/services/scratchpad.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/scratchpad.html (original)
+++ websites/staging/isis/trunk/content/reference/services/scratchpad.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/services/settings-services.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/settings-services.html (original)
+++ websites/staging/isis/trunk/content/reference/services/settings-services.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/services/third-party/about.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/third-party/about.html (original)
+++ websites/staging/isis/trunk/content/reference/services/third-party/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/services/third-party/danhaywood-isis-domainservice-docx.html
==============================================================================
--- websites/staging/isis/trunk/content/reference/services/third-party/danhaywood-isis-domainservice-docx.html (original)
+++ websites/staging/isis/trunk/content/reference/services/third-party/danhaywood-isis-domainservice-docx.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">