07.02.2017, 09:27
Hi, is possible to add a tooltip to a link object....???
Tooltip
|
07.02.2017, 09:27
Hi, is possible to add a tooltip to a link object....???
07.02.2017, 11:42
Please, not only for links but for normal objects too. It would be a great improvement for "user" visualisations.
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
13.02.2017, 15:16
No solution...???
13.02.2017, 22:28
13.02.2017, 23:34
(This post was last modified: 13.02.2017, 23:35 by Erwin van der Zwart.)
Hi,
What you could do is use the normal text objects and give it a custom class and css to hide it by default. (and optional a background with rounded corners by css) Then add a custom css class to your object and some custom javascript that detects a hover on the object and toggle the class on the (or group of) text object(s). This way you can have a tooltip effect. I don't see any other easier way then this.. BR, Erwin
14.02.2017, 07:45
Add two classes to the visualization element that you want to have a tooltip: tooltip tooltip-1
Common tooltip class provides the tooltip element itself, while second class (tooltip-1) specifies the tooltip text Custom CSS, adjust styles and text as needed: Code: .usermode .tooltip:before {
13.11.2019, 09:02
(14.02.2017, 07:45)admin Wrote: Add two classes to the visualization element that you want to have a tooltip: tooltip tooltip-1 Hi Admin, I have tryed this solution, but it doesn't work Can you explain it better? Thanks
13.11.2019, 09:05
It works, only you will see it in the final visu not in editor.
------------------------------
Ctrl+F5
13.11.2019, 09:12
I don't see it even in the final visu..
13.11.2019, 09:14
As the instructions says add the two classes to Additional class of visu element tooltip tooltip-1 and then paste the code to additional css. Have you done all this?
------------------------------
Ctrl+F5
13.11.2019, 09:17
yes I have done it
13.11.2019, 09:19
Send me your backup to PM, use wetransfer.com or similar
------------------------------
Ctrl+F5
ok I found the problem.. if my element is "read-only" the tooltip doesn't work.. I need it to work even if my element is "read-only"
13.11.2019, 09:38
hm. I don't think it will work as when element is read only there is no 'hover' on this element.
As a work around, you can add invisible image and place it under your object. Attach tooltip to the image and it will work.
------------------------------
Ctrl+F5
13.11.2019, 09:49
I have 400 sensors that are read only, it is not a great work around
I have found a solution more elegant and simple for using tooltip with elements that are "read-only".
You have to add only those lines: Code: .tooltip > div > img {
Is there a way to change the text via javascript?
because this code doesn't work Code: $(".tooltip").mouseover(function(){ someone can help me? Thanks, Mirco
14.11.2019, 14:09
30.06.2020, 06:26
(This post was last modified: 30.06.2020, 06:27 by Erwin van der Zwart.)
Hi,
There is a css section on the graphics tab. BR, Erwin |
« Next Oldest | Next Newest »
|