Jason Garber said the following on 10/31/2009 08:45 AM:
> No, you hit upon the best way. Unfortunately the % signature for spans
> in Textile doesn't take a title option like links and acronyms. Textile
> intends for you to use HTML inline when necessary, so go right ahead
> with your span tags, though you shouldn't need the double-equals for
> escapement.
>
> Should be able to do <span title="explanatory text">multi word stuff,
> not upper case</span> without problem.
>
> <p>Should be able to do <span title="explanatory text">multi word stuff, not
> upper case</span> without problem.</p>
I looked for a CSS solution and found one.
The body takes something like this:
"(tooltip) Words that Need the Tooltip %The body of the
tooltip can be quite long%":#
That final "#" is a link that goes nowhere. You can make it a real URL
if you want that field to go somewhere.
The resulting html is
<a href="#" class="tooltip"> Words that Need the Tooltip <span>
he body of the tooltip can be quite long</span></a>
The supporting CSS is
a:hover { /*BG color is a must for IE6*/
background:#ffffff; text-decoration:none;
}
a.tooltip span {
display:none; padding:2px 3px; margin-left:6px; width:220px;
}
a.tooltip:hover span {
display:inline; position:absolute; background:yellow;
border:2px outset #cccccc; margin: 0.15em 0.2em;
color:#6c6c6c;
}
You can customise the details.
This was derived from various sources on the web, not least of all Eric
Meyer's work.
having the ability to use a URL - or not - is useful :-)
--
The author who benefits you most is not the one who
tells you something you did not know before, but
the one who gives expression to the truth that
has been dumbly struggling in you for utterance."
-- Oswald Chambers
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant