EasyUI Forum
May 15, 2024, 08:02:13 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: zIndex property in dialog are invalid  (Read 7227 times)
kingor2001
Jr. Member
**
Posts: 61


View Profile
« on: July 15, 2016, 10:51:37 PM »

I would  set a dialog's zIndex, such as
<div id="dlg" class="easyui-dialog" data-options="zIndex:10000" style="width:400px;height:200px;"></div>,
and the Index property value is always 9000.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: July 16, 2016, 05:58:53 PM »

The 'zIndex' value varies while the window is opened. If you want to set it manually, please try this:
Code:
$('#w').window({
onOpen: function(){
$(this).window('window').css('zIndex',10000);
}
});
Logged
kingor2001
Jr. Member
**
Posts: 61


View Profile
« Reply #2 on: July 17, 2016, 07:54:59 AM »

thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!