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

Unblocking


<?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::blockElement('.sh_php')
      ->_message('Blocking the source code')
  )
?>

<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in("#btnUnblock")
  ->execute(
    YsBlockUI::unblock('.sh_php')
  )
?>

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net