-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 22. Juli 2008 schrieb Valentin Villenave:
> 2008/7/22 Patrick McCarty <[EMAIL PROTECTED]>:
> > I will experiment more with the TOC at the end of the body, as you
> > currently have, since it seems like a better solution.  But placing
> > the TOC at the top of the body is so much easier to implement in IE!
>
> If I might add a $0.02 OT suggestion here...
>
> It would be absolutely *awesome* to have a little search box at the
> top of the tocframe div. It can call a customized Google search (like
> on lilypond.org), or a complex AJAX thing with autocompletion like
> they now have on Wikipedia, I don't care; we just really *do* need a
> search box here.

That's just one fixed html form in the simplest case, right? That can be 
easily added to the top of the TOC frame by simply adding the appropriate 
html in the function lilypond_print_toc_div in the init file. Currently, 
there is:
    print $fh "\n\n<div id=\"tocframe\">\n";
    print $fh '<h4> ' . $Texi2HTML::NAME{'Contents'}  . "</h4>\n";
etc.
All that needs to be done is to print out the html for the search form. 
Of course, ideally it should search only in the doc of the current version, 
not in all manuals of all previous versions (like the search bar on the 
lilypond.org page does...).

Cheers,
Reinhold

- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFIh2WrTqjEwhXvPN0RArCgAJ9r72NQJJgNRC90m6YlYlmZIvQ+QQCeMvzK
wUzOvOTGpwArHSO7gyFhf2E=
=Uzzs
-----END PGP SIGNATURE-----


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to