jQuery4PHP Current Release: v1.7.0 - Stable

jQuery version: v1.8.2

jQueryUI version: Stable (1.8.24: jQuery 1.3.2+)

jQuery4php API

JqMonitor

Hide navigator Hide source code

Basic


<?php
//For use the plugin
YsJQuery::usePlugin(YsJQueryConstant::PLUGIN_JQMONITOR);
?>

<?php echo YsUIDialog::initWidget('dialogId','style="display:none" title="Basic dialog"') ?>
  There has been no activity in the last 5 seconds
<?php echo YsUIDialog::endWidget() ?>

<?php
echo
YsJQuery::newInstance()
  ->execute(
    YsUIDialog::build('#dialogId')
      ->_autoOpen(false)
      ->_modal(true)
      ->_position(YsUIPosition::$RIGHT_BOTTOM_POSITION)
      ->_show(YsUIConstant::BLIND_EFFECT)
      ->_hide(YsUIConstant::BLIND_EFFECT)
  );

echo
YsJQMonitor::build()
  ->_timeout(5000)
  ->_onActive(YsUIDialog::close('#dialogId'))
  ->_onIdle(YsUIDialog::open('#dialogId'))
  ->execute()
?>

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net