[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Sliced, folded navbars
- From: Florian Hars <nospam@thanx>
- Date: 14 Mar 1999 21:45:43 +0100
I somehow tweaked my code for hierarchical navbars to produce slices
for different languages. So if you always wanted to do things like
<navbar:button id=www.wml.navbars
url="www/wml_navbars.#.html|www/wml_navbars.html"
txt="<de:Navigationsleisten><en: Navigation Bars>">
you might want to take a look at http://www.hars.de/www/wml_navbars.html
resp. http://www.hars.de/www/wml_navbars.en.html.
I managed to rebuild my site with these definitions (and three pages
even use the slice functionality), so it can't be totally broken.
The documentation could probably be better, but if you understand
wml::des::navbar, you should be able to make some sense of it, my code
is only a modification of it and should almost work as a drop in
replacement. And, yes, the resulting slices have [LANG_XX:<img src=...>:]
instead of the slightly easier to achieve <img src=[LANG_XX:...:]>,
so the beautifier will actually insert the image dimensions.
Yours, Florian.
PS: I'll be in Heidelberg for most of this week, so if you find any bugs
you have the whole week to look for a solution before you report them
to me, I won't have time to fix them anyway :-).
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com