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

False stack

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

<input value="Button 1" id="btn1" type="button" />
<input value="Button 2" id="btn2" type="button" />
<input value="Button 3" id="btn3" type="button" />

<script type="text/javascript" language="javascript">
<?php
echo YsPNotify::defaults(
     array(
       YsPNotify::NOTICE_ICON => YsPNotify::getIcon(YsUIConstant::ICON_COMMENT),
       YsPNotify::WIDTH => '97%')
     )
     //Or use: ->renderWithJsTags();
?>
</script>

<?php
for($i = 1; $i <= 3; $i++){
  echo
  YsJQuery::newInstance()
    ->onClick()
    ->in('#btn' . $i)
    ->execute(
      YsPNotify::build("Message from button No: " . $i)->_pnotify_stack(false)
    );
}
?>

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net