pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r935185 - in /websites/staging/pdfbox/trunk/content: ./ 1.8/ 1.8/cookbook/ docs/1.8.2/ errors/
Date Mon, 05 Jan 2015 21:54:11 GMT
Author: buildbot
Date: Mon Jan  5 21:54:11 2015
New Revision: 935185

Log:
Staging update by buildbot for pdfbox

Modified:
    websites/staging/pdfbox/trunk/content/   (props changed)
    websites/staging/pdfbox/trunk/content/1.8/architecture.html
    websites/staging/pdfbox/trunk/content/1.8/commandline.html
    websites/staging/pdfbox/trunk/content/1.8/cookbook/documentcreation.html
    websites/staging/pdfbox/trunk/content/1.8/cookbook/pdfacreation.html
    websites/staging/pdfbox/trunk/content/1.8/cookbook/pdfavalidation.html
    websites/staging/pdfbox/trunk/content/1.8/cookbook/textextraction.html
    websites/staging/pdfbox/trunk/content/1.8/cookbook/workingwithattachments.html
    websites/staging/pdfbox/trunk/content/1.8/cookbook/workingwithfonts.html
    websites/staging/pdfbox/trunk/content/1.8/cookbook/workingwithmetadata.html
    websites/staging/pdfbox/trunk/content/1.8/dependencies.html
    websites/staging/pdfbox/trunk/content/1.8/faq.html
    websites/staging/pdfbox/trunk/content/building.html
    websites/staging/pdfbox/trunk/content/codingconventions.html
    websites/staging/pdfbox/trunk/content/docs/1.8.2/pdfcoverage.html
    websites/staging/pdfbox/trunk/content/download.html
    websites/staging/pdfbox/trunk/content/errors/403.html
    websites/staging/pdfbox/trunk/content/errors/404.html
    websites/staging/pdfbox/trunk/content/ideas.html
    websites/staging/pdfbox/trunk/content/index.html
    websites/staging/pdfbox/trunk/content/mailinglists.html
    websites/staging/pdfbox/trunk/content/references.html
    websites/staging/pdfbox/trunk/content/sitemap.html
    websites/staging/pdfbox/trunk/content/support.html
    websites/staging/pdfbox/trunk/content/team.html

Propchange: websites/staging/pdfbox/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jan  5 21:54:11 2015
@@ -1 +1 @@
-1649670
+1649677

Modified: websites/staging/pdfbox/trunk/content/1.8/architecture.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/1.8/architecture.html (original)
+++ websites/staging/pdfbox/trunk/content/1.8/architecture.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -284,7 +295,6 @@ the Calendar is converted to a string in
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/1.8/commandline.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/1.8/commandline.html (original)
+++ websites/staging/pdfbox/trunk/content/1.8/commandline.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -679,7 +690,6 @@ PDFBox tools as Java applications.</p>
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/1.8/cookbook/documentcreation.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/1.8/cookbook/documentcreation.html (original)
+++ websites/staging/pdfbox/trunk/content/1.8/cookbook/documentcreation.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -187,7 +198,6 @@
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/1.8/cookbook/pdfacreation.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/1.8/cookbook/pdfacreation.html (original)
+++ websites/staging/pdfbox/trunk/content/1.8/cookbook/pdfacreation.html Mon Jan  5 21:54:11 2015
@@ -47,13 +47,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -84,7 +95,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -95,7 +106,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -188,7 +199,6 @@ example takes one present in pdfbox:</p>
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/1.8/cookbook/pdfavalidation.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/1.8/cookbook/pdfavalidation.html (original)
+++ websites/staging/pdfbox/trunk/content/1.8/cookbook/pdfavalidation.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -244,7 +255,6 @@ In order to help in the failure understa
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/1.8/cookbook/textextraction.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/1.8/cookbook/textextraction.html (original)
+++ websites/staging/pdfbox/trunk/content/1.8/cookbook/textextraction.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -254,7 +265,6 @@ or org.apache.pdfbox.ExtractText to ensu
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/1.8/cookbook/workingwithattachments.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/1.8/cookbook/workingwithattachments.html (original)
+++ websites/staging/pdfbox/trunk/content/1.8/cookbook/workingwithattachments.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -180,7 +191,6 @@ Attachments are part of the named tree t
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/1.8/cookbook/workingwithfonts.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/1.8/cookbook/workingwithfonts.html (original)
+++ websites/staging/pdfbox/trunk/content/1.8/cookbook/workingwithfonts.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -301,7 +312,6 @@ use when no mapping exists. </p>
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/1.8/cookbook/workingwithmetadata.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/1.8/cookbook/workingwithmetadata.html (original)
+++ websites/staging/pdfbox/trunk/content/1.8/cookbook/workingwithmetadata.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -194,7 +205,6 @@ or set the XML metadata.</p>
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/1.8/dependencies.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/1.8/dependencies.html (original)
+++ websites/staging/pdfbox/trunk/content/1.8/dependencies.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -228,7 +239,6 @@ libraries discussed above into the pdfbo
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/1.8/faq.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/1.8/faq.html (original)
+++ websites/staging/pdfbox/trunk/content/1.8/faq.html Mon Jan  5 21:54:11 2015
@@ -47,13 +47,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -84,7 +95,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -95,7 +106,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -246,7 +257,6 @@ the word "Hello" is drawn.</li>
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/building.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/building.html (original)
+++ websites/staging/pdfbox/trunk/content/building.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -205,7 +216,6 @@ the ExtractText command line application
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/codingconventions.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/codingconventions.html (original)
+++ websites/staging/pdfbox/trunk/content/codingconventions.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -194,7 +205,6 @@ for quite some time which delivers some
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/docs/1.8.2/pdfcoverage.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/docs/1.8.2/pdfcoverage.html (original)
+++ websites/staging/pdfbox/trunk/content/docs/1.8.2/pdfcoverage.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -601,7 +612,6 @@ For easier reading the package names are
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/download.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/download.html (original)
+++ websites/staging/pdfbox/trunk/content/download.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -263,7 +274,6 @@ Section 740.13) for both object code and
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/errors/403.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/errors/403.html (original)
+++ websites/staging/pdfbox/trunk/content/errors/403.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -149,7 +160,6 @@
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/errors/404.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/errors/404.html (original)
+++ websites/staging/pdfbox/trunk/content/errors/404.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -149,7 +160,6 @@
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/ideas.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/ideas.html (original)
+++ websites/staging/pdfbox/trunk/content/ideas.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -199,7 +210,6 @@ level. This could in addition be a good
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/index.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/index.html (original)
+++ websites/staging/pdfbox/trunk/content/index.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -194,7 +205,6 @@ skills. Subscribe to the <a href="/maili
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/mailinglists.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/mailinglists.html (original)
+++ websites/staging/pdfbox/trunk/content/mailinglists.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -195,7 +206,6 @@ to the <strong>Commit Mailing List</stro
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/references.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/references.html (original)
+++ websites/staging/pdfbox/trunk/content/references.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -313,7 +324,6 @@ Please file an <a href="https://issues.a
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/sitemap.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/sitemap.html (original)
+++ websites/staging/pdfbox/trunk/content/sitemap.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -142,7 +153,6 @@
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/support.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/support.html (original)
+++ websites/staging/pdfbox/trunk/content/support.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -181,7 +192,6 @@ before.</p>
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>

Modified: websites/staging/pdfbox/trunk/content/team.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/team.html (original)
+++ websites/staging/pdfbox/trunk/content/team.html Mon Jan  5 21:54:11 2015
@@ -45,13 +45,24 @@
         $(function() {
             // collapse tree nodes dynamically to support noscript
             $('.sidebar-node').addClass('collapsed');
-            $('#v1-8').removeClass('collapsed');
+            
 
             // toggle expand/collapse
             $('.sidebar-node > a').click(function(e) {
                 $(this).parent().toggleClass('collapsed');
                 e.preventDefault();
             });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
     </script>
 </head>
 
@@ -82,7 +93,7 @@
                     <li><a href="/team.html">Project Team</a></li>
                     
                     <li class="sidebar-header">Documentation</li>
-                    <li class="sidebar-node">
+                    <li class="sidebar-node" id="v2-0">
                         <a href="#">Trunk</a>
                         <ul>
                             <li><a href="/docs/2.0.0-SNAPSHOT/javadocs/">API Docs</a></li>
@@ -93,7 +104,7 @@
                         <ul>
                             <li><a href="/1.8/architecture.html">Architecture</a></li>
                             <li><a href="/1.8/dependencies.html">Dependencies</a></li>
-                            <li class="sidebar-node">
+                            <li class="sidebar-node" id="v1-8-cookbook">
                                 <a href="#">Cookbook</a>
                                 <ul>
                                     <li><a href="/1.8/cookbook/documentcreation.html">Document Creation</a></li>
@@ -263,7 +274,6 @@ Get involved today. All contributions to
             </div>
         </div>
     </footer>
-    <!--  -->
 </body>
 
 </html>



Mime
View raw message