Frank Peters wrote:
[EMAIL PROTECTED] wrote:
Probably the easiest way, is through a template. I'm taking a look at it
We've been playing with templates a bit and it's fairly straightforward
to implement a template that displays the "book" TOC plus next and
previous links on wiki pages. I'll see if I can implement something on
the wiki later this week.
There is some initial stuff already put together here:
http://wiki.services.openoffice.org/wiki/Template:NavigationTemplate
I need to make a few minor layout changes to this example template and
add in a couple new/extra features we've needed. The concept is
unchanged though.
I've discovered a couple minor "gotchas" with this TOC template. These
show up because Internet Explorer does a very poor job of implementing
CSS standards. Most can be resolved by coding around the missing CSS
implementations (aka adding IE hacks) in the main CSS stylesheet that
the Wiki uses.. but it looks like we will need to do at least one small
tweak in the TOC template itself.
IE does not implement max-width (something we are using a fair bit in
the TOC template idea). The result is that while the TOC looks nice in
FireFox, Mozilla, Opera etc, in IE it expands to the width of the
longest TOC title.
To get IE to respect the max-width parameters (we are setting a
max-width: 200px), we need to add in something along the lines of:
width:expression(this.width > 200 ? "200px" : this.width)
where we declare max-width. Or... does anyone know of a better solution
to make IE implement a something that emulates max-width?
Clayton
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]