From a6cc5e278ea52808706b19b5bc6d9532934439d9 Mon Sep 17 00:00:00 2001 From: dfyockey Date: Fri, 18 Sep 2020 15:30:48 -0400 Subject: [PATCH] Improved data show/hide features. - In a control change, toggling visibility of all data sections in the document except the Application Data sections is now performed by clicking on any Application Data heading. - Clicking on any application title in a generated Html document now toggles the visibility of all information for all other applictions in the document. - Page positioning after a pertinent click using window.scrollBy() has been replaced by use of element.scrollIntoView() to facilitate implemention of the aforementioned control change. --- README.md | 25 ++++++++++++++++--------- peds.xsl | 50 ++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 52 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 6ed3651..1ee73f0 100644 --- a/README.md +++ b/README.md @@ -109,21 +109,28 @@ 5. Open the generated Html files to view the formatted PEDS data. - ## Tips + ## Viewing Options + + 1. Click any Application Data heading in a generated Html file to hide + all data sections in the file *except* Application Data sections. Click + any Application Data heading again to show the hidden sections. This + feature can be useful in browsing through a large collection of + results to find applications of interest. + + 2. Click any application title in a generated Html file to hide all + *other* information in the file except that for the clicked title. + Click the one remaining application title again to show the hidden + information for the other titles. This feature can be useful for + printing information for a single application to paper or PDF. - 1. As of XSLT_PEDS version 1.1.0, you may click on any application title - in a generated Html file to hide all data sections in the file except - Application Data sections. Clicking any application title again will - show the hidden sections. This feature can be useful in browsing - through a large collection of results to find applications of interest. + ## Tips - 2. Depending on the file manager used, you may be able to select + 1. Depending on the file manager used, you may be able to select multiple generated Html files and hit "Enter" -- or open a context menu (i.e. "right-click menu") and click "Open" -- to open the files in a collection of (randomly-ordered) tabs. - 3. The Html files are completely portable; i.e. you can move them to + 2. The Html files are completely portable; i.e. you can move them to any folder, email them to someone, etc. --- - diff --git a/peds.xsl b/peds.xsl index 2c69dc5..41fd5db 100644 --- a/peds.xsl +++ b/peds.xsl @@ -35,25 +35,45 @@ @@ -139,6 +159,7 @@
+
@@ -149,6 +170,7 @@
+

@@ -180,10 +202,10 @@
-

+

- +

Application Data

Application Data

Application Number: Correspondence Address Customer Number: