News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Tooltips on mobile?

Started by Sir Osis of Liver, May 01, 2019, 10:39:54 PM

Previous topic - Next topic

Sir Osis of Liver

Do tooltips display on mobile devices?  How do you mouseover without a mouse?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Kindred

Depends on the mobile browser... but generally, no

However, hover on a mobile is a single touch... double touch or long touch is a click
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sir Osis of Liver

Thanks, will see if I can get one of my members to try it on a phone.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Antes

You can actually use SuperFish (JS) plugin's method to show tooltips... SF does one-tap to open, second tap to follow. But that probably requires some JS knowledge.

https://github.com/joeldbirch/superfish
https://github.com/joeldbirch/superfish/blob/master/dist/js/superfish.js

Alternatively, you can wrap the tooltip info with span/a element and use :focus on it to show.

Sir Osis of Liver

I'll take a look at that.  The coding in mobile-desktop is a bit eccentric ( :P), not easy to work with or find things.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: