EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
December 01, 2025, 09:32:04 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
>
General Discussion
>
How can set z-index in Tooltip?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How can set z-index in Tooltip? (Read 9536 times)
kingor2001
Jr. Member
Posts: 61
How can set z-index in Tooltip?
«
on:
September 17, 2016, 05:14:42 AM »
How can set z-index in Tooltip?
If I customize the content in the menubutton by class 'menu-content' and tooltip a "<a>test</a>" in the content, '<a>test</a>''s tooltip can't been seen because it's zindex less than the menubutton zindex.
Now I deal it as follows:
onShow : function() {
$(this).tooltip('tip').css("z-index", 200000);
}
«
Last Edit: September 17, 2016, 05:23:48 AM by kingor2001
»
Logged
jarry
Administrator
Hero Member
Posts: 2302
Re: How can set z-index in Tooltip?
«
Reply #1 on:
September 18, 2016, 03:17:24 PM »
Your code has no problem. Please look at this example, it shows how to custom the tooltip style.
http://www.jeasyui.com/demo/main/index.php?plugin=Tooltip&theme=default&dir=ltr&pitem=Custom%20Style
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...