EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: crosemffet on November 09, 2016, 04:13:30 PM



Title: set cursor in panel tools
Post by: crosemffet 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,


Title: Re: set cursor in panel tools
Post by: stworthy 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;
}