jQuery4PHP Current Release: v1.7.0 - Stable

jQuery version: v1.8.2

jQueryUI version: Stable (1.8.24: jQuery 1.3.2+)

jQuery4php API

JqFileManager

Hide navigator Hide source code

Basic


<button id="btnOpenDialog">See the Video</button>
<?php echo YsUIDialog::initWidget('dialogId','style="display:none" title="Basic dialog"') ?>
<object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/v/spH5nJXSZJY?version=3"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/spH5nJXSZJY?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object>
<?php echo YsUIDialog::endWidget() ?>
<p>
  Sorry, this example is disabled for security. Download the latest showcase or click in <b>See the Video</b>.
</p>

<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in("#btnOpenDialog")
  ->execute(
    YsUIDialog::build('#dialogId')
      ->_width('auto')
      ->_height('auto')
      ->_modal(true)
      ->_buttons(array(
        'Ok' => new YsJsFunction('alert("Hello world")'),
        'Close' =>  new YsJsFunction(YsUIDialog::close('this')))
       )
  )
?>

Sorry, this example is disabled for security. Download the latest showcase or click in See the Video.

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net