[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change image upon mouse hover

From: Yuan Fu
Subject: Re: Change image upon mouse hover
Date: Tue, 5 Dec 2023 13:24:29 -0800
User-agent: Mozilla Thunderbird

On 12/5/23 5:00 AM, Eli Zaretskii wrote:
Date: Mon, 4 Dec 2023 21:44:13 -0800
From: Yuan Fu <>

I have these two images:

I want to change the left one to the right one when mouse hovers over
it. Is it possible? What's the best way to do it?
Did you try to use the help-echo text property?  Its value can be a
function, see "Special Properties" in the ELisp manual.

Thanks, this works brilliantly! However, now I realized that there's another problem: I need to change the image back to the one with no background when cursor leaves the button.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]