Hi.
I have a repeater where text content is shortened with ellipsis ("…") if the column width is too small. This is done in Jacascript using Open External Link, and works fine.
Now, I want to show the full text content in a tooltip that appears on mouseover, but ONLY when text has been shortened by ellipsis.
I’ve tried a little using Javascript (don’t think “ellipsis” is suppported natively in Axure RP9, but would love if it was), but I’m having trouble detecting whether a text has been shortened or not. My approach has been to run the Javascript code on Mouseover, and simply set a global variable ShowTooltip (based on the ellipsis detection, which I can’t get to work), and use that in the Move event on the same item (so that I am sure that the Javascript runs first).
Does anyone have any proposal on Javascript code I can use in Open External Link to detect if a text has been shortened by ellipsis with the CSS-rule text-overflow?
Thanks.
Asbjørn