Re: [Radiant] Redcloth Acronym limitation
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 multi word stuff, > not upper case without problem. > > Should be able to do multi word stuff, not > upper case without problem. 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 Words that Need the Tooltip he body of the tooltip can be quite long The supporting CSS is a:hover { /*BG color is a must for IE6*/ background:#ff; 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 #cc; 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: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth Acronym limitation
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 multi word stuff, not upper case without problem. Should be able to do multi word stuff, not upper case without problem. -Jason On Oct 29, 2009, at 11:02 PM, Anton Aylward wrote: > I've been experimenting with embedding the 'title' tag. > > Redcloth does this with the 'acronym mechanism. > >> From http://redcloth.org/textile/writing-paragraph-text/ > there is the example > > The EPA(Environmental Protection Agency) is measuring > GHG(greenhouse gas) emissions. > > being mapped to > > The > EPA is measuring > GHG acronym> > emissions. > > The key bit here is that the > title="Environmental Protection Agency" > causes a popup. > > I want to do a similar thing but end up as > >title="explanatory text" >> > multi word stuff, not upper case > > > The 'tag' will probably be a > > The best I've figured out is > > == > multi word stuff, not upper case > == > > which is a bit clunky. > > Any ideas? > > -- > Between the iron gates of fate, The seeds of time were sown, > And watered by the deeds of those Who know and who are known; > Knowledge is a deadly friend When no one sets the rules. > The fate of all mankind I see Is in the hands of fools. > - Greg Lake > > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Redcloth Acronym limitation
I've been experimenting with embedding the 'title' tag. Redcloth does this with the 'acronym mechanism. >From http://redcloth.org/textile/writing-paragraph-text/ there is the example The EPA(Environmental Protection Agency) is measuring GHG(greenhouse gas) emissions. being mapped to The EPA is measuring GHG emissions. The key bit here is that the title="Environmental Protection Agency" causes a popup. I want to do a similar thing but end up as multi word stuff, not upper case The 'tag' will probably be a The best I've figured out is == multi word stuff, not upper case == which is a bit clunky. Any ideas? -- Between the iron gates of fate, The seeds of time were sown, And watered by the deeds of those Who know and who are known; Knowledge is a deadly friend When no one sets the rules. The fate of all mankind I see Is in the hands of fools. - Greg Lake ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant