This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Font Text
#2
Something like this should do the trick, give your button a custom class (mycustomclass in this sample)

Code:
$(function(){
  if (typeof grp != 'undefined') {
    grp.listen('1/5/1', function(object, state) {
      if (state == 'value') {
        if (object.value == true) {
          $(".mycustomclass .value").css({"font-family":"Arial, Helvetic, Sans-Serif", "font-size":"300%", "color":"#c0ba2c"});
        } else {
          $(".mycustomclass .value").css({"font-family":"Fantasy", "font-size":"200%", "color":"#c35e1e"});
        }
      }
    }, true);
  }
});
Reply


Messages In This Thread
Font Text - by Amelie - 07.03.2024, 18:40
RE: Font Text - by Erwin van der Zwart - 07.03.2024, 19:51
RE: Font Text - by admin - 08.03.2024, 07:30
RE: Font Text - by Amelie - 11.03.2024, 15:13

Forum Jump: