-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Moin,
On Tuesday 13 March 2007 21:18:12 Simetrical wrote:
On 3/13/07, Platonides Platonides@gmail.com wrote:
Chris Marmo wrote:
I'm currently searching for an extension which allows the TOC to be extracted from the page and used elsewhere in the skin (for example, in a sidebar - outside the confines of the article itself). It seems to be a common request yet I haven't been able to find any solutions.
Seems easy to hack with JavaScript.
You will be roasted in the fires of hell for suggesting such a thing.
Uhm, why? Just moving the table around with CSS should be quite easy. I mean, you could use position:relative or position: absolute?
Yes, this should undoubtedly be split partly out of the parser.
Can you explain this a bit more?
I'd als like to mention this (shameless plug I know :-)
http://bloodgate.com/wiki/index.php?title=POD:Graph
Note the TOC? :) Then consider that the entire page in wiki consists of roughly:
<pod> lots of text here </pod>
The TOC was created by the extension. (Technically, the extension should even create two TOCs if you have two POD sources in the same article, although that wasn't tried yet)
I haven't toyed around with moving the toc into the sidebare, but that was exactly my idea for the following scenary:
* Upon loading the page, the toc is just below the toolbox * when you scroll down, toolbox and menu scroll out to the top, so the TOC rises * when the TOC hits the upper border of the window, it stays there
E.g. the toc scrolls with the window, but only up to the upper window border so you can see it always, even on very long pages.
Problems with that approach:
* TOC might be longer than browser-window (special case this?) * TOC parts cannot be collapsed, so you cant shorten the TOC (that could be done with more JSmagic) * toc that is more wide than sidebar (will overflow/break)
But certainly an interesting area if interface research :D
All the best,
Tels
- -- Signed on Tue Mar 13 23:14:16 2007 with key 0x93B84C15. Get one of my photo posters: http://bloodgate.com/posters PGP key on http://bloodgate.com/tels.asc or per email.
"Duke Nukem Forever will come out before Doom 3."
-- George Broussard, 2002 (http://tinyurl.com/6m8nh)