[html-formfu] Adding balloon hints to fields
Thomas L. Shinnick
tshinnic at io.com
Sat Sep 22 06:22:38 GMT 2007
Is this the best way to add a balloon hint popup to both field and
label? I'm using the examples/vertically-aligned.css for testing,
and so the 'container' is a <span>.
elements:
- type: Text
name: country_name
label: Country Name
size: 32
container_attributes:
title: Name of country (when not USA domestic)
I also tried
elements:
- type: Text
name: country_name
label: Country Name
label_attributes:
title: Name of country (when not USA domestic)
size: 32
attributes:
title: Name of country (when not USA domestic)
which worked, but I kinda wanted the popup anywhere on the field
line, and this only did the actual label text and the field input box.
I have only Firefox and IE7 at hand to test with. Will adding a
title="" to a <span> also work in other browsers? Ah, works in Opera
9.23. And IE6!
Thoughts?
BTW: Is there anyplace that specifically points out magic like
'container_attributes:' ?
More information about the HTML-FormFu
mailing list