top

SFBACKGROUND

** This class will not be supported in 2015.

   All functionalities of sfBackground class are more improved, integrating with CAPH. Therefore sfBackground class is not supported since 2015 Smart TV. To use functions of sfBackground class, refer to here.


This is the class for Background UI.

Add the following line for sfBackground class into a html file your own :

  script type="text/javascript" src="$MANAGER_WIDGET/Common/af/2.0.0/loader.js">/script>

You can declare sfBackground class like this :

  ex) $('#div ID').sfBackground('method Name', parm1, parm2);


Methods

setColumnSize

Description
This function changes column size.
Parameters
■size
  - Number
  - Size of column bar by pixel. If the 'column' options is 'left' or 'right', this value means width of column bar. And means height if the 'column' is bottom.
Return■Void
Emulator SupportN
SDK ConstraintNone
Example
$('#bg').sfBackground('setColumnSize', 100);

setColumnType

Description
This function changes column type of background.
Parameters
■type
  - String
  - Type of column bar. null value hides the column bar  
   * value : 'left', 'right', 'bottom'
Return■Void
Emulator SupportN
SDK ConstraintNone
Example
$('#bg').sfBackground('setColumnType', 'left');

showColumnShadow

Description
This function sets that column shadow shows or not.
Parameters
■bShow
  - Boolean
  - Indicates shows the arrow or not. true means shows the shadow image.
Return■Void
Emulator SupportN
SDK ConstraintNone
Example
$('#bg').sfBackground('showColumnShadow', true);   // shows shadow

showLight

Description
This function sets that Light on upper side of page shows or not.
Parameters
■bShow
  - Boolean
  - Indicates shows the arrow or not. true means shows the light image.
Return■Void
Emulator SupportN
SDK ConstraintNone
Example
$('#bg').sfBackground('showLight', true);   // shows light