[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

NAVBAR and CSS



Hi Denis,

thanks for maintaining WML and Mailing List.
You (and all other participants) are doing a great job there! ;-))

Last week I switched to NAVBAR txtonly mode
and i was looking for an extra link behaviour
like pseudo class a:link { ... } in CSS.
Finally I have changed
	$O .= '<*a href=...
to
	$O .= '<*a class="menu" href=...
in section
	#   for a button without images
of my local copy of navbar.wml.
See http://home.arcor.de/vissers/ for an example.

What do you think about builtin WML macro support for CSS?
IMHO it would be nice for other users and for other includes.
What about the mail below from Petr Andreyev?
You have answered "Your idea looks interesting, patches are welcome ;)".
Have there been any patches?

Ralf
mailto:ravis@web.de


-----Ursprüngliche Nachricht-----
Von: owner-sw-wml@engelschall.com [mailto:owner-sw-wml@engelschall.com]
Im Auftrag von Petr Andreyev
Gesendet: Montag, 11. Februar 2002 18:54
An: sw-wml@engelschall.com
Betreff: toc etc


Hi Collegues,

i would think that for professional projects wml::std::toc is not
satisfactory 
just because it allows only for the 5 built-in styles. Of course, those
styles 
have many options, but they do not cover all situations (for instance,
what if 
I wish to render toc using CSS only?).

I would think that something like this should be much better: instead of
<toc> 
to have

<toc-style name="ol"> ;;; predefined tag for the 'ol' style
;;; here we optionally redefine some styles
<toc_h4_style> <li><a href="#%toc_href%"
class="myh4class">%toc_title%</a> 
</toc_h4_style>
.
.
.
<toc>

That is, we can define our own style and use a standard one as a base.

The same should be applicable to other standard includes as well: 
many of them are not flexible enough (and this should stop many
potential wml-users (not wml-programmers) from using it).

What do you think?

--
Petr


______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com

______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com