How to add tooltip on all thumbnail images with a specific class

This forum is for all Flare issues not related to any of the other categories.
Post Reply
jbananak
Propeller Head
Posts: 66
Joined: Thu May 03, 2012 2:45 am

How to add tooltip on all thumbnail images with a specific class

Post by jbananak »

I have a large project. How do I set a tooltip "Click to enlarge" on all images (in many htm files/snippets) that have a specific style class so that it appears when I hover over the image. I set the thumbnail as popup so that it enlarges when I click on the image.
Thanks in advance.
ChoccieMuffin
Senior Propellus Maximus
Posts: 2637
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: How to add tooltip on all thumbnail images with a specific class

Post by ChoccieMuffin »

You could try a search and replace in the code of your topics and snippets.

For example, I have this in the code in my document:
img src="../../Images/Test_Dialog box.jpg" class="Thumbnail"

If you want to add the tooltip that says "Click to enlarge" on all images with class=Thumbnail":
search for
class="Thumbnail"
and replace with
class="Thumbnail" title="Click to enlarge"

Tip: Don't do it on the whole project, because class="Thumbnail" might appear in other odd places.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Post Reply