Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

Tooltip

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
mariri
Posts: 45
Joined: Mon Sep 02, 2019 11:54 am

Tooltip

Unread post by mariri »

Hi !

How can we add tooltip to objects when the user hovers an object to get more details about the object ?

Thanks for ur help !
Last edited by mariri on Tue Jan 07, 2020 11:18 am, edited 1 time in total.
kev1n
nuBuilder Team
Posts: 4562
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 528 times
Contact:

Re: Tooltip

Unread post by kev1n »

Hi,

This can be done by adding some Javascript code in the form's Custom Code field:

Code: Select all

if (nuFormType() == 'edit') {

   $('#label_YOUR_OBJECT_ID').attr('title', 'Some information about this object');

}
Replace YOUR_OBJECT_ID with an object id
mariri
Posts: 45
Joined: Mon Sep 02, 2019 11:54 am

Re: Tooltip

Unread post by mariri »

Thanks so much Kevin ! :D
admin
Site Admin
Posts: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: Tooltip

Unread post by admin »

.
IzzyBok
Posts: 6
Joined: Sat Aug 20, 2022 2:25 am
Has thanked: 3 times

Re: Tooltip

Unread post by IzzyBok »

Hi, Kevin !
How can I increase font size in the tooltip?
Thanks for help !
kev1n
nuBuilder Team
Posts: 4562
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 528 times
Contact:

Re: Tooltip

Unread post by kev1n »

IzzyBok
Posts: 6
Joined: Sat Aug 20, 2022 2:25 am
Has thanked: 3 times

Re: Tooltip

Unread post by IzzyBok »

Hi, Kev1n!
Thank you for reply.
Unfortunately, I do not have any experience in js.
I assumed that it was as simple as [Tip] Increase nuBuilder's font size
viewtopic.php?t=11595
It would be nice if the function nuSetToolTip has a parameter to change font size,
or be able to adjust the font of the tooltip through the Setup-> Style.
Thanks for help !
Post Reply