Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Background Highlight
#1
Script for Background Highlight Style.
·        This is to be written on component Script.
·        This script changes the color on click of the respective component.

var division = sdk.getDivIdFromComponetId( 'label2' );
sdk.applyStyles( "#" + division + " span", {"color": "#fff", "background": "#6979af"} );
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)