YiiFramework development tutorial Zii component-Resizable example. CJuiResizable allows the UI components contained in it to support scaling. it encapsulates the JUIResizable plug-in. the basic usage of CJuiResizable is as follows: [php]? Php $ this-beginWidget (zii. wi CJuiResizable allows the UI components contained in it to support the zoom function. it encapsulates the JUI Resizable plug-in,
The basic usage of CJuiResizable is as follows:
[Php]
BeginWidget ('zii. widgets. jui. cjuiresizable', array (
'Options' => array (
'Minwidth' => 50,
'Minheight' => 50,
'Maxwidth' = & gt; 500,
'Maxheight' => 500,
),
'Htmlopexception' => array (
'Style' => 'width: 150px; height: 150px;
Padding: 0.5em; border: 1px solid # e3e3e3; background: # f7f7f7'
),
));
Echo 'Your resizable content here ';
$ This-> endWidget ();
?>
BeginWidget ('zii. widgets. jui. cjuiresizable', array (
'Options' => array (
'Minwidth' => 50,
'Minheight' => 50,
'Maxwidth' = & gt; 500,
'Maxheight' => 500,
),
'Htmlopexception' => array (
'Style' => 'width: 150px; height: 150px;
Padding: 0.5em; border: 1px solid # e3e3e3; background: # f7f7f7'
),
));
Echo 'Your resizable content here ';
$ This-> endWidget ();
?>
The beginWidget and endWidget of CJuiResizable are defined to support the zoom function.
The basic usage of the JUI Resizable plug-in CJuiResizable is as follows: [php]? Php $ this-beginWidget (zii. wi...