Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127
Chapter selector
<?php //For use the plugin YsJQuery::usePlugin(YsJQueryConstant::PLUGIN_JQBOOKLET); ?> <button id="btnOpenDialog">Show Demo</button> <?php echo YsUIDialog::initWidget('dialogId','style="display:none" title="Basic dialog"') ?> <?php echo YsJQBooklet::menu('custom-menu') ?> <?php echo YsJQBooklet::initWidget('mybook') ?> <?php echo YsJQBooklet::initPage('My Page 1-1', 'Chapter 1') ?> <h3>Yay, Chapter 1 Page 1!</h3> <?php echo YsJQBooklet::endPage() ?> <?php echo YsJQBooklet::initPage() ?> <h3>Yay, Chapter 1 Page 2!</h3> <?php echo YsJQBooklet::endPage() ?> <?php echo YsJQBooklet::initPage('My Page 1-3') ?> <h3>Yay, Chapter 1 Page 3!</h3> <?php echo YsJQBooklet::endPage() ?> <?php echo YsJQBooklet::initPage() ?> <h3>Yay, Chapter 1 Page 4!</h3> <?php echo YsJQBooklet::endPage() ?> <?php echo YsJQBooklet::initPage('My Page 2-1', 'Chapter 2') ?> <h3>Yay, Chapter 2 Page 1!</h3> <?php echo YsJQBooklet::endPage() ?> <?php echo YsJQBooklet::initPage() ?> <h3>Yay, Chapter 2 Page 2!</h3> <?php echo YsJQBooklet::endPage() ?> <?php echo YsJQBooklet::initPage('My Page 2-3') ?> <h3>Yay, Chapter 2 Page 3!</h3> <?php echo YsJQBooklet::endPage() ?> <?php echo YsJQBooklet::initPage() ?> <h3>Yay, Chapter 2 Page 4!</h3> <?php echo YsJQBooklet::endPage() ?> <?php echo YsJQBooklet::endWidget() ?> <?php echo YsUIDialog::endWidget() ?> <?php echo YsJQuery::newInstance() ->onClick() ->in('#btnOpenDialog') ->execute( YsUIDialog::build('#dialogId') ->_modal(true) ->_width(650) ->_height(510) ->_buttons(array( 'Ok' => new YsJsFunction('alert("Hello world")'), 'Close' => new YsJsFunction(YsUIDialog::close('this'))) ), YsJQBooklet::build('#mybook') ->_menu('#custom-menu') ->_chapterSelector(true) ->_pageSelector(true) ); ?>