I assume that by "background" you mean the ThisBG meter in your code. If not, adjust things accordingly.
First, ThisText should have a background of its own, so that hovering on it triggers not only on the text's pixels, but the text's "frame", so to speak. In your case, I suppose adding a SolidColor=0,0,0,1 to that meter in order to have its "frame background" almost transparent visually but still made of opaque pixels that can trigger the hover and leave events would be enough.
Then, just add the relevant part from your example to the ThisText meter:Finally, make sure your ThisBG meter is initially invisible, by adding this to it:Unrelated: you might want to order your meters in a more consistent fashion, similar to how you write things on a piece of paper, e.g. from top to bottom and left to right (or ThisBG, This, and then ThisText). This would make things clearer.
First, ThisText should have a background of its own, so that hovering on it triggers not only on the text's pixels, but the text's "frame", so to speak. In your case, I suppose adding a SolidColor=0,0,0,1 to that meter in order to have its "frame background" almost transparent visually but still made of opaque pixels that can trigger the hover and leave events would be enough.
Then, just add the relevant part from your example to the ThisText meter:
Code:
MouseOverAction=[!SetOption ThisBG ImageAlpha "255"][!Update]MouseLeaveAction=[!SetOption ThisBG ImageAlpha "0"][!Update]
Code:
ImageAlpha=0
Statistics: Posted by Yincognito — Today, 4:33 pm