Logic Machine Forum
how to make a message appear at a certain time when passing the cursor through an ico - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: how to make a message appear at a certain time when passing the cursor through an ico (/showthread.php?tid=2239)



how to make a message appear at a certain time when passing the cursor through an ico - 3r1ck - 13.09.2019

Hello colleagues, my question is whether CSS, Javascript or other forms can specify additional information about something when the user moves the mouse pointer over an element.

The idea is that when passing the mouse through some icon of the visualization this will show us a message at a certain moment, I understand that this is done with information about tools.



Thank you and I am attentive to your comments.


RE: how to make a message appear at a certain time when passing the cursor through an ico - admin - 17.09.2019

The easiest way is to use built-in "title" attribute. You can set it like this:
Code:
$('.my-custom-class').prop('title', 'custom title');



RE: how to make a message appear at a certain time when passing the cursor through an ico - 3r1ck - 17.09.2019

(17.09.2019, 12:24)admin Wrote: The easiest way is to use built-in "title" attribute. You can set it like this:
Code:
$('.my-custom-class').prop('title', 'custom title');
thank you very much Admin worked perfectly for me, a question out of curiosity. Can you change the sample time of the message?


RE: how to make a message appear at a certain time when passing the cursor through an ico - 3r1ck - 20.09.2019

(17.09.2019, 12:24)admin Wrote: The easiest way is to use built-in "title" attribute. You can set it like this:
Code:
$('.my-custom-class').prop('title', 'custom title');
Hello colleagues, is it possible to perform this effect on a specific icon that has the ability to read only ?. Well, I did the test and it only works on icons with just reading disabled