This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

HTML Help "Related Topics" button


Hi,

We are developing a single-sourcing project with pdf and HTML Help as
outputs. I would like to have dynamic links in my HTML Help, and I
was thinking of using Related Topics (or See also) -type buttons.
When the user clicks the button, a popup menu appears with topic
headings related to the subject. The help selects the topics based on
keywords. The keywords are indexterms in DocBook and we have
generated a .hkk file.

The input in XML would provide the text written on the button and the
keyword.
The output in HTML would be something like:

<OBJECT
  CLASSID="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11"
  ID="KeywordSearch"  TYPE="application/x-oleobject">
  <PARAM  NAME="Command"  VALUE="KLink,MENU">
  <PARAM  NAME="Button"  VALUE="Text:Typical settings">
  <PARAM  NAME="Font"  VALUE="MS Sans Serif,8,0,,">
  <PARAM  NAME="Item1"  VALUE="">
  <PARAM  NAME="Item2"  VALUE="Fluorescence intensity">
</OBJECT>

where "Typical settings" is the text on the button and "Fluorescence
intensity" is the keyword. It should be possible to give several
keywords, if necessary.

I have also seen similar dynamic links with no button, just a link
which also opens a popup menu.

My question is: 

- is this kind of functionality already in the DocBook XSL? (we
couldn't find it)
- if there isn't, has anybody implemented anything similar?
- if there is, how should I tag the button information in XML?

(We use Instant Saxon)

Thank you in advance!

Pirjo :-)




=====
Pirjo Tinat
Documentation Specialist, Team Manager
Done Information Oy
Tukholmankatu 2, 00250 Helsinki
tel. +358-(0)20 525 3380
mobile +358-(0)40 830 5171
pirjo.tinat@donesolutions.com

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]