Jump to content
Announcing Achievements! ×

Community

Acronym Expansion feature improved for mobile


phatmass
 Share

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...
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy