0

Which is the best solution for tooltips on movile devices?

asked 2021-05-20 00:27:30 +0800

softteam gravatar image softteam
130 1 8

Hello, we are developing an application with ZK and we have some tooltips on cells, listheaders, etc.

Which is the best solution to adapt this tooltips to movile devices?

Thank you,

Javier

delete flag offensive retag edit

4 Answers

Sort by ยป oldest newest most voted
0

answered 2021-05-20 16:48:23 +0800

hawk gravatar image hawk
3250 1 5
http://hawkphoenix.blogsp... ZK Team

There are several ways to show tooltips, but what zk currently supported is the first way:

add hints /icons

https://zkfiddle.org/sample/1u06gip/1-show-tooltips

using touch & hold

But ZK current default of a long-press is to show a context menu, so it needs to override the default behavior in javascript.

Ref: https://ux.stackexchange.com/questions/98628/how-can-i-display-tool-tips-on-a-touchscreen-or-is-there-a-better-way

link publish delete flag offensive edit
0

answered 2021-05-20 19:32:35 +0800

softteam gravatar image softteam
130 1 8

updated 2021-05-20 19:32:56 +0800

In this fiddle example, how can we create a popup without id in order to use these popups inside a template, for instance?

Thank you!

link publish delete flag offensive edit
0

answered 2021-05-22 08:20:41 +0800

hawk gravatar image hawk
3250 1 5
http://hawkphoenix.blogsp... ZK Team
link publish delete flag offensive edit
0

answered 2021-05-24 09:45:11 +0800

hawk gravatar image hawk
3250 1 5
http://hawkphoenix.blogsp... ZK Team

Another way is to replace a tooltip with some assistant text along with the target component. For example, in desktop browser, there is an icon with tooltip. In mobile browser, you render the icon with extra help text alone with the icon. Not using tooltip, just a label with icon like: image description

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2021-05-20 00:27:30 +0800

Seen: 16 times

Last updated: May 24 '21

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More