* Table of contents & HTML.
@ 2011-07-04 10:58 Kristaps Dzonsons
2011-07-04 12:27 ` Joerg Sonnenberger
0 siblings, 1 reply; 2+ messages in thread
From: Kristaps Dzonsons @ 2011-07-04 10:58 UTC (permalink / raw)
To: discuss
Hi,
I've hacked up a demo of framed manual pages for mandoc-cgi. You can
see a demo of it here,
http://mdocml.bsd.lv/cgi-bin/mandoc.cgi/frame/2086.html
http://mdocml.bsd.lv/cgi-bin/mandoc.cgi/frame/19.html
http://mdocml.bsd.lv/cgi-bin/mandoc.cgi/frame/2087.html
From the regular search page, these are visible with the "framed" link
type, alongside PDF, PS, and so on. You'll note this is only really
useful for longer manuals, but for such manuals, it's quite useful!
It's just a proof of concept with hard-coded HTML (in mandoc-cgi.c).
Note that I don't see _parent targets for the "page" frame, as I'm just
putting out some ideas.
Thoughts?
As mentioned earlier, using LINKs is the way to go, but to the best of
my knowledge no browser really uses these. Pity...
Kristaps
--
To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Table of contents & HTML.
2011-07-04 10:58 Table of contents & HTML Kristaps Dzonsons
@ 2011-07-04 12:27 ` Joerg Sonnenberger
0 siblings, 0 replies; 2+ messages in thread
From: Joerg Sonnenberger @ 2011-07-04 12:27 UTC (permalink / raw)
To: discuss
On Mon, Jul 04, 2011 at 12:58:03PM +0200, Kristaps Dzonsons wrote:
> Thoughts?
You can get a similar effect by using something like
<div id="toc">
...
</div>
<div id="outer-content">
<div id="content">
...
</div>
</div>
in combination with
#toc {
position: absolute;
overflow: auto;
width: 10%;
}
outer-content {
position: absolute;
overflow: auto;
left: 10%;
right: 0;
}
without frames.
Joerg
--
To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-04 12:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-04 10:58 Table of contents & HTML Kristaps Dzonsons
2011-07-04 12:27 ` Joerg Sonnenberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).