jQuery4PHP Current Release: v1.7.0 - Stable

jQuery version: v1.8.2

jQueryUI version: Stable (1.8.24: jQuery 1.3.2+)

jQuery4php API

Pnotify

Hide navigator Hide source code

Stack

<style type="text/css">
  /* <![CDATA[ */
  /* Alternate stack initial positioning. */
  .ui-pnotify.stack-topleft {
    top: 15px;
    left: 15px;
    right: auto;
  }
  /* ]]> */
</style>

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

<input value="Show" id="btnShow" type="button" />
<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in('#btnShow')
  ->execute(
    YsPNotify::build("Message from button")
      ->_pnotify_addclass('ui-pnotify stack-topleft')
      ->_pnotify_title('Error')
      ->_pnotify_type(YsPNotify::ERROR_TYPE)
  );
?>

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net