EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
October 13, 2024, 07:18:47 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
How to highlight a tag with hover?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to highlight a tag with hover? (Read 3093 times)
kingor2001
Jr. Member
Posts: 61
How to highlight a tag with hover?
«
on:
June 22, 2019, 10:08:00 PM »
How to highlight a tag with hover?
How to change the color of a clicking tag like tree's action?
I can now just deal as follows
t.next("span.textbox").on("mouseenter mouseleave", ".tagbox-label", function() {
$(this).toggleClass('tagbox-hover');
}).on("click", ".tagbox-label", function() {
$(this).addClass('tagbox-selected').siblings().removeClass('tagbox-selected');
});
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: How to highlight a tag with hover?
«
Reply #1 on:
June 24, 2019, 07:16:05 AM »
Just define this css style.
Code:
<style type="text/css">
.tagbox-label:hover{
background: #ddd;
}
</style>
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...