jQuery4PHP Current Release: v1.7.0 - Stable

jQuery version: v1.8.2

jQueryUI version: Stable (1.8.24: jQuery 1.3.2+)

jQuery4php API

Keys

Hide navigator Hide source code

Hotkeys


<?php YsJQuery::usePlugin(YsJQueryConstant::PLUGIN_KEYS); ?>

<span><b>Alt + o</b> To open the dialog.</span>
<?php echo YsUIDialog::initWidget('dialogId','style="display:none" title="Basic dialog"') ?>
  Hello World
<?php echo YsUIDialog::endWidget() ?>

<?php
echo
    YsKeys::hotkeys()
      ->_hotkey('Alt+o')
      ->_handler(
        YsUIDialog::build('#dialogId')
          ->_modal(true)
          ->_title("Title")
          ->_width(300)
          ->_height('auto')
          ->_buttons(array(
            'Ok' => new YsJsFunction('alert("Hello world")'),
            'Close' =>  new YsJsFunction(YsUIDialog::close('this')))
          )
      )->execute()
?>

Alt + o To open the dialog.

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net