cancel
Showing results for 
Search instead for 
Did you mean: 

Tooltip on Hover of image

amritbhgt
8 - Cloud Apps
8 - Cloud Apps

Hi All,

Need Help!!!

I want to add a tooltip on hovering on a image (Blox).

Thanks

1 ACCEPTED SOLUTION

IsaacBlanco
8 - Cloud Apps
8 - Cloud Apps

Hey @amritbhgt , while reading the Blox documentation, it appears that there is no specific property to set up a tooltip text for an image. However, you can address this by adding an ID to the image within your Blox widget. Then, include a custom script in the widget. Inside that script, use the "ready" event of the widget, and with a bit of JavaScript, you can add the following:

const myImage = document.getElementById('natureImage');

if (myImage) {
myImage.title = "Beautiful Nature";
}

View solution in original post

1 REPLY 1

IsaacBlanco
8 - Cloud Apps
8 - Cloud Apps

Hey @amritbhgt , while reading the Blox documentation, it appears that there is no specific property to set up a tooltip text for an image. However, you can address this by adding an ID to the image within your Blox widget. Then, include a custom script in the widget. Inside that script, use the "ready" event of the widget, and with a bit of JavaScript, you can add the following:

const myImage = document.getElementById('natureImage');

if (myImage) {
myImage.title = "Beautiful Nature";
}