Luca Morandini pisze:
> Well, you can use hidden DIVs, to be displayed when an "on hover" event
> is triggered.
> 
> Off the top of my head:
> ...
>     <style type="text/css">
>       .errmsg div {
>         display:none;
>       }
>       .errmsg:hover div {
>         display:block;
>         position:absolute;
>         top:inherit;
>         left:inherit;
>         z-index:10;
>         width:50%;
>         background-color:red;
>         color:white;
>         font-size:1.3em;
>         }
>     </style>
> ...
>     <div class="errmsg">
>       Error
>       <div>
>         <img
> src="http://cocoon.apache.org/2.2/blocks/forms/1.0/images/errors.gif"/>
>         This is a rather annoying error message
>       </div>
>     </div>
> 
> I'm sure a web designer coudl come up with something better.

Ah, right. Is this technique considered as accessible?

>> If it's not possible I would recommend creation of your own
>> forms-customized block that will inherit
>> from original Cocoon block and override necessary templates. Thanks to
>> SSF capabilities there are
>> very clean ways to customize such things.
> 
> That's absolutely true: I'm starting to appreciate what SSF can do.

Good to hear that!
However, I have in mind some techniques that I have never spoken about up to 
date so let me know
when you start to play with Forms customization. I'll be happy to do some 
brainstorming.

-- 
Grzegorz Kossakowski

Reply via email to