[Gambas-user] Online help
Timothy Marshal-Nichols
timothy.marshal-nichols at ...247...
Mon Jul 3 19:01:05 CEST 2006
This is the help viewer I use. But it assumes you split you help into a
number of files. I do not like the idea of keeping it all in one file. This
is OK only if the amount of help is small. This project does search, history
and a few other things. There are a few HTML templates in the project that
can be used as a starting point for a help system. It also show how you can
follow links is a HTML file.
You will need to have the component gb.qt.ext in your project. It has been
compiled in Gambas 1.9.32.
Thanks
8-{)} Timothy Marshal-Nichols
<mailto: timothy.marshal-nichols at ...247...>
> -----Original Message-----
> From: gambas-user-bounces at lists.sourceforge.net
> [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of rolf
> Sent: Monday, 03 July 2006 14:43
> To: mailing list for gambas users
> Subject: Re: [Gambas-user] Online help
>
>
> Hi Rob
>
> > > I would like to build for a larger programm system a kontext
> > > sensitiv help, perhaps with a help button.
> > > How can I realize this with one (html) file?
> >
> > I see two ways to do it, if you want to limit it to one file....
> >
> > 1. Put all the help in one file, and set up anchors for each
> > keyword corresponding to a particular context:
> >
> > <a name="OptionsDialog"></a>
> >
> > And then when you bring up your help browser, specify
> > #OptionsDialog at the end of the URL you use to display the help
> > file. The other way is....
> This does not work, because HELPFILE#OptionsDialog will be
> interpreted as a
> filename at all. Usually a browser may split the achor part
> correctly, if the
> shell passes the complete name to the browser.
>
>
> > 2. Put all the help in one file, and insert comments indicating
> > the start and end of each context.
> >
> > <!-- BEGIN OptionsDialog -->
> > <h2>Options Dialog</h2>
> > This is the dialog where you set the options.
> > <!-- END OptionsDialog -->
> >
> > And then, in the help browser you write, you can iterate through
> > the HTML file a line at a time, and display only those lines
> > between the BEGIN and END comments for your desired context.
>
> This implies, that I have to write a program by my self (which
> also has to
> deal with links inside the document.
> I hoped that some of the html elements of gambas can do the things I was
> looking for.
>
> Many thanks for your suggestions
> rolf
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HelpViewer.tar
Type: application/x-tar
Size: 153600 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060703/b6dd1e46/attachment.tar>
More information about the User
mailing list