jQuery4PHP Current Release: v1.7.0 - Stable

jQuery version: v1.8.2

jQueryUI version: Stable (1.8.24: jQuery 1.3.2+)

jQuery4php API

BlockUI

Hide navigator Hide source code

Ui theme


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

<button id="btnBlock">Block</button>
<button id="btnUnblock">Unblock</button>

<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in("#btnBlock")
  ->execute(
    YsBlockUI::block()
      ->_message('Blocking the source code')
      ->_title('<p>This is your message.</p>')
      ->_theme(true)
      ->_timeout(5000)
      ->_onBlock( new YsJsFunction('alert("Block callback")') )
      ->_onUnblock( new YsJsFunction('alert("Unblock callback")') )
  )
?>

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net