amritbhgt
01-16-2024Cloud Apps
Tooltip on Hover of image
Hi All, Need Help!!! I want to add a tooltip on hovering on a image (Blox). Thanks
- 01-17-2024
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";
}