NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on May 23, 2018, 02:40:40 AM

Title: How to use a jquery icon in a button
Post by: Alberto on May 23, 2018, 02:40:40 AM
May be Bruce did not follow my last post so I resume it here.
Trying to use a jQuery icon in a button, as Bruce does in Insert, Change, etc buttons using:

CSS= 'ui-icon ui-icon-calculator'
or
CSS= 'ui-icon-calculator'

The result is what you see in the attached images, you can see that it even change between themes.

Any easy way of use this icons?

Thanks
Title: Re: How to use a jquery icon in a button
Post by: Bruce on May 23, 2018, 11:27:02 PM
you just set the template setting, as in the attached pic.
Use the jQuery name, minus the ui- part.
So for the ui-check icon just use
'check'

Cheers
Bruce