EasyUI Forum
October 16, 2025, 06:18:31 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: set cursor in panel tools  (Read 7423 times)
crosemffet
Jr. Member
**
Posts: 68



View Profile WWW Email
« on: November 09, 2016, 04:13:30 PM »

hello, and thanks in advance for your support.
I have one panel, with custom tools.
just to separate each icon, I'm adding a blank.png icon to create a custom space between then.
the problem is in the blank icon, the mouse cursor change it's pointer to hand pointer, according to links cursor.
my code is:
$('#p').panel({
    tools:[{iconCls:'icon-prev',handler:function(){previousPage();}
    },{iconCls:'icon-blank',css:('cursor','default') --------------> that's the idea but is not working
   },{iconCls:'icon-next',handler:function(){submitForm();}
    },{iconCls:'icon-blank'
    }]
});
how can I set the css cursor for this panel tool?
thanks for your suggestions,
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: November 09, 2016, 05:04:08 PM »

Please try to hide your 'icon-blank' icon by adding the following code:
Code:
.icon-blank{
  visibility: hidden;
}
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!