top

SFPOPUP

** This class will not be supported in 2015.

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


This is the class for Popup UI components.

Add the following line for sfPopup 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 sfPopup class like this :

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


Methods

hide

Description
This function hides popup. If callback is specified on initialize, callback will be called by this operation..
Parameters
none
Return■Object
  - jQuery object
Emulator SupportN
SDK ConstraintNone
Example
//Hide popup:
 
$('#popup1').sfPopup('hide');

show

Description
This function displays the popup and sets focus on the selected button and initiates timer. This steals focus from the Scene and returns focus when the popup is closed.
Parameters
none
Return■Object
  - jQuery object
Emulator SupportN
SDK ConstraintNone
Example
//Show popup
 
$('#popup1').sfPopup('show');