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

Tall content


<?php echo YsUIPanel::initWidget('panelId', 'style="display:none;height:150px"') ?>
  <?php echo YsUIPanel::title('Mi test', YsUIConstant::ICON_ALERT) ?>
  <?php echo YsUIPanel::initContent() ?>
    <div>
        <p><label>Username:</label><input type="text" name="demo1"></p>
        <p><label>Password:</label><input type="text" name="demo1"></p>
    </div>
    <button id="btnUnblock">Unblock</button>
  <?php echo YsUIPanel::endContent() ?>
<?php echo YsUIPanel::endWidget() ?>



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

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

<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in("#btnBlock")
  ->execute(
    YsBlockUI::block()
      ->_message(YsJQuery::newInstance()->in('#panelId'))
      ->_css(array('border' => 'none'))
  )
?>

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

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net