Jump to content

Acronym Expansion feature improved for mobile


phatmass

Recommended Posts

My forum uses the "Acronym Expansion" feature extensively. Unfortunately, it works inconsistently across browsers and does not work on mobile at all.

Currently, Invision renders the acronyms in posts like this:

<abbr title="United States of America">USA</abbr>

I found some simple jQuery script and CSS that will turn the pop-up into a mobile-friendly tooltip if the code could be rendered like this instead:

<abbr title="United States of America" rel="tooltip">USA</abbr>

Unfortunately, I cannot figure out what file to edit to make this small change. :(

Link to comment
Share on other sites

If anyone is interested in making your "Acronym Expansion" mobile friendly, I was able to do it on my forum with the help of some guys in the technical board:

And here's what it looks like on my forum:

http://www.phatmass.com/phorum/topic/138151-commonly-used-acronyms-or-terms-used-on-phatmass/

I think this would be a great improvement to Invision's base code.

Link to comment
Share on other sites

  • 3 years later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...