Page 1 of 1

Alternate Text

Posted: Tue Nov 15, 2005 9:13 am
by CCY
I am implemeting a hyperlink feature for both text and picture (Hot Picture).

To insert a new link I will call InsertStringTag and set current selected text as hyperlink I will call SetItemTagEd. Just like what RichView Actions did.

But how can I add Alternate Text to it? And how to get it back? Then when exporting to HTML will this alternate text being exported as well? eg alt='test link'?

Can you modify the CreateHyperlink demo in RichView and provide the link for me to download it and have a look?


Thank you very much!! :)

Posted: Thu Nov 17, 2005 7:52 pm
by Sergey Tkachenko
In HTML, alt attribute is only for pictures (it is text ALTernative to the picture). But almost any visual element can have title attribute (popup hint).
See this topic: http://www.trichview.com/forums/viewtopic.php?t=355
(hint can be applied to any item in trichview, not only to the pictures)