Re: Two cool tricks for Web-based Help
Everything worked fine until developers started creating dynamic pages
for buy/sell transactions. In other words, the content of the pages
changed completely depending on the type of transaction that the
customer selected from a drop-down list. Our only solution, at the time
anyway, was to hard-code links to the appropriate help file.
If anyone has a work-around for dynamic ASP pages please share it!
This isn't a work-around since I've never implemented this kind of help :-)
but:
A given ASP file (let's call it dynapage.asp) HAS to use querystring
(parameters tacked on at end of URL) or form fields to maintain state (what
particular variation of the page has been generated/is being viewed),
unless:
a) The server's using a session to keep track of who's doing what at a given
point in time, or
b) Your app uses an AJAX-ified interface, making several partial requests to
the server and updating the page in the browser as a result of the call,
without reloading the page itself.
The old, and simpler, type of ASP coding basically just had a switch
structure, which would branch to output a different form of the page, based
on a main switch variable; that variable would be set from a form field or
querystring parameter submitted by the browser. In such a case, if (as is
very likely), the page has a limited number of possible values for this main
switch variable, you could:
a) create dynafile-varvalue1-h.htm as the help page for dynafile.asp, when
the main switch variable's value was "varvalue1" (I'm including the -h after
reading the excellent information Geoff Hart (and John Garison) have
posted.) Create other help pages with differing values of the main switch
variable.
b) In dynafile.asp's code, have developers code the HREF for the help file
as <name of this asp file>-<main switch variable value>-h.htm
I know there's a lot of potential problems since I don't know anything about
your app or help system, but maybe, just *maybe* this is a workable idea :-)
HTH
Ed.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
WebWorks ePublisher Pro for Word features support for every major Help format plus PDF, HTML and more. Flexible, precise, and efficient content delivery. Try it today! http://www.webworks.com/techwr-l
Easily create HTML or Microsoft Word content and convert to any popular Help file format or printed documentation. Learn more at http://www.DocToHelp.com/TechwrlList
---
You are currently subscribed to TECHWR-L as archive -at- infoinfocus -dot- com -dot-
To unsubscribe send a blank email to techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40infoinfocus.com
To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com
Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/techwhirl/ for more resources and info.
References:
RE: Two cool tricks for Web-based Help: From: Rowena Hart
Previous by Author:
Re: 5 Users in a Room
Next by Author:
Re: Evaluating Candidates Using Tests, Logic Questions, and Similar
Previous by Thread:
RE: Two cool tricks for Web-based Help
Next by Thread:
Landed my first job as a technical writer
Search our Technical Writing Archives & Magazine
Visit TechWhirl's Other Sites
Sponsored Ads