It is currently December 9th, 2021, 4:40 am

How to place an image in such a way that, when I hover over a n object, it shows the particular image

Help with creating, editing & fixing problems with skins
User avatar
Alloutofmercy
Posts: 32
Joined: November 17th, 2021, 5:51 am

How to place an image in such a way that, when I hover over a n object, it shows the particular image

Post by Alloutofmercy »

Code: Select all



[Profilebar]
Meter=Shape
Shape=Rectangle 0,0,350,150,10 | Fill Color #Puregold# | StrokeWidth 0
MouseOverAction=[!SetOption #CURRENTSECTION# ImageTint "#red#"] [!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption MeterImage ImageName "#@#\Images\QueenAnnesrevenge.jpg"][!UpdateMeter *][!Redraw]

You do not have the required permissions to view the files attached to this post.
User avatar
death.crafter
Rainmeter Sage
Posts: 1208
Joined: April 24th, 2021, 8:13 pm

Re: How to place an image in such a way that, when I hover over a n object, it shows the particular image

Post by death.crafter »

Alloutofmercy wrote: November 18th, 2021, 9:13 am

Code: Select all

[Shape]
Meter=Shape
Shape=Rectangle 1, 1, 200, 100, 10 | Attributes
MouseOverAction=[!ShowMeter ImageMeter][!Redraw]
MouseLeaveAction=[!HideMeter ImageMeter][!Redraw]

[ImageMeter]
Meter=Image
X=5r
Y=5r
W=190
H=90
ImageName=#@#Images\exampleImage.png
Hidden=1
from the Realm of Death