jquery-powertip icon indicating copy to clipboard operation
jquery-powertip copied to clipboard

Mobile device specific (notification-bar-like) placement (feature request)

Open dennis97519 opened this issue 8 years ago • 2 comments

Is it possible to make a mobile wiki style tooltip that pops up from the bottom? and trigger this style on mobile user agent string or a mobile flag. wiki citation popup

dennis97519 avatar Feb 06 '16 14:02 dennis97519

Not with PowerTip today. At least not easily.

You can try to detect if you're on a mobile device or in a small virtual screen resolution then disable the PowerTip tooltips entirely and use some custom code, or different plugin designed to do those kinds of popups. But that sounds kind of painful to me.

I haven't had to do this yet, so I can't recommend any good tools to do this. But I'm confident that someone (probably many someones) has written scripts to do exactly those types of popups.

But to rephrase this as a feature request; I could consider adding new tooltip positions based on the window edges instead of an element in the page. For example { placement: 'screenBottom' }.

stevenbenner avatar Apr 02 '16 23:04 stevenbenner

Yeah, the new tooltip positions would be good.

dennis97519 avatar Apr 03 '16 12:04 dennis97519