[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Sliced, folded navbars
- From: Tobias Oetiker <nospam@thanx>
- Date: Mon, 15 Mar 1999 00:24:10 +0100 (MET)
Yesterday you sent me mail regarding Sliced, folded navbars:
*> 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.
*>
I have also conquered this problem but one step biond, because I am
generating my navbar with PerlMagick ....
http://www.ethrat.ch:81/
as usual, the sources are in *.wml
and the guts are in http://www.ethrat.ch:81/.wml/
cheers
tobi
--
______ __ _
/_ __/_ / / (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
/ // _ \/ _ \/ / TEL: +41(0)1-6325286 FAX:...1194 ICQ: 10419518
/_/ \.__/_.__/_/ oetiker@ee.ethz.ch http://ee-staff.ethz.ch/~oetiker
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com