[Seaside] [Question] How do I do a table of contents in a long report?

Gerhard Obermann obi068 at gmail.com
Tue Oct 28 18:56:06 UTC 2008


You could do this with basic html!

html anchor name: 'section1'.   .... Name of anchor

html anchor url: '#section1'; with: 'Section 1'  ... Link to anchor


On Tue, Oct 28, 2008 at 7:47 PM, hhs at lexdb.net <hhs at lexdb.net> wrote:

>  Hello
> The following is probably a beginner's question but I did not find an
> answer on pages like
> http://www.seaside.st/documentation/generating-html
> or
> http://onsmalltalk.com/programming/smalltalk/terse-guide-to-seaside/
> I have a report which is many pages long headings (h2). I would like to
> have a table of contents (toc) at the beginning with links to the respective
> headings. And a backlink of every heading to the top again. The user should
> be able to navigate within the page generated by Seaside without prompting
> Seaside to generate a new page.
> I am aware how to construct links to other components
>     self call: (WAComponentSubclass new)
> but not how to do "regular" internal links in a web page.
> Thank you for code samples in advance
> Hannes Hirzel
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20081028/0085c32e/attachment.htm

More information about the seaside mailing list