NetTalk Central

Author Topic: How to use a jquery icon in a button  (Read 3823 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
How to use a jquery icon in a button
« 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to use a jquery icon in a button
« Reply #1 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