Date: Wed, 3 May 2000 11:49:32 -0400
Reply-To: "Fehd, Ronald J." <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J." <rjf2@CDC.GOV>
Subject: ods-html %xtab2htm: V1 notes
Content-Type: text/plain; charset="iso-8859-1"
key-word: list processing
hehe give it to the user and they'll come right back with suggested
improvements!
Version 0 did the following:
created 3 different files:
index.htm
*xtab.htm
*list.htm
These files were linked in the following manner:
"->" indicates a pointer, or hyperlink
number indicate line or row numbers
decimal digit represents nth link on the row
index.htm
*1.1 -> FILE1xtab.htm 1.2 -> FILE2list.htm
*2.1 -> FILE2xtab.htm 2.2 -> FILE2list.htm
...
on each line you could follow a link to either the cross-table or
the detail list
The user wonders why they have to go down to the cross-table
and then back up to the index before drilling down to the detail listing.
!*! New and Improved !*!
Version 1 does the following:
index.htm
*1.1 -> FILE1xtab.htm *1.2 -> FILE1list.htm
*2.1 -> FILE2xtab.htm *2.2 -> FILE2list.htm
...
File1xtab.htm
*1 -> FILE1list.htm#lvl1
*2 -> FILE1list.htm#lvl2
*3 -> FILE1list.htm#lvl3
File2xtab.htm
*1 -> FILE2list.htm#lvl1
*2 -> FILE2list.htm#lvl2
*3 -> FILE2list.htm#lvl3
La User is now pleased and smiling:
click on a link in the Index.htm,
go to the cross-table,
click on the the level one is interested in
viole`: see the details!
Here is the HTML trick to go to a label within a particular file:
<a href="index.html#who">What's That?</a>
<a name="who">What's That?</a>
These two lines are key to adding links in one file to another.
in the example above, clicking on the underlined
Anchor Element "What's That?"
will take you to the label named after the pound sign (#) in the file
reference.
In this case the label is "who"
File1xtab.htm
<a href="FILE1list.htm#lvl1">Level 1 value</a>
<a href="FILE1list.htm#lvl2">Level 2 value</a>
<a href="FILE1list.htm#lvl2">Level 3 value</a>
and in FILE1list.htm:
<a name="lvl1">Level 1 value</a>
...
<a name="lvl2">Level 2 value</a>
...
<a name="lvl3">Level 3 value</a>
for an HTML glossary
http://www.google.com HTML hyperlink
http://www.uth.tmc.edu/uth_orgs/educ_dev/whcd/GLOS1_0.HTM
a pleasant afternoon, I did enough work to last me till next week!
So, you want to know how to write a Table of Contents, eh?
read the macro!
I think I'm gonna have to read some more of those SUGI Proceedings! LOL
Ron Fehd the html whizard and macro maven CDC Atlanta GA USA RJF2@cdc.gov
---> cheerful provider of TESTED SAS macros !*! <---