jQuery4PHP Current Release: v1.7.0 - Stable

jQuery version: v1.8.2

jQueryUI version: Stable (1.8.24: jQuery 1.3.2+)

jQuery4php API

Slider

Hide navigator Hide source code

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Horizontal

<?php $properties = 'class="vertical"
                     style="float:left; margin:15px"'  ?>
<button id="btnOpenDialog">Slider Demo</button>
<?php echo YsUIDialog::initWidget('dialogId',
                                  'style="display:none"
                                   title="Slider Demo"')?>
  Master:<br/>
  <?php echo YsUISlider::initWidget('master')?>
  <?php echo YsUISlider::endWidget()?>
  <br/>
  <?php echo YsUIPanel::initWidget('panelId', 'style="height:150px"')?>
    <?php echo YsUISlider::initWidget('slider1', '')?>
    <?php echo YsUISlider::endWidget()?>
    <?php echo YsUISlider::initWidget('slider2', $properties)?>
    <?php echo YsUISlider::endWidget()?>
    <?php echo YsUISlider::initWidget('slider3', $properties)?>
    <?php echo YsUISlider::endWidget()?>
    <?php echo YsUISlider::initWidget('slider4', $properties)?>
    <?php echo YsUISlider::endWidget()?>
    <?php echo YsUISlider::initWidget('slider5', $properties)?>
    <?php echo YsUISlider::endWidget()?>
  <?php echo YsUIPanel::endWidget()?>
  <span id="sliderVal">Id: Val: </span>
<?php echo YsUIDialog::endWidget() ?>

<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in('#btnOpenDialog')
  ->execute(
    YsUIDialog::build('#dialogId')
      ->_modal(true)
      ->_height(400)
      ->_buttons(array(
          'Ok' => new YsJsFunction('alert("Hello world")'),
          'Close' =>  new YsJsFunction(YsUIDialog::close('this')))
       )
    ,YsUISlider::build('#master')
      ->_range(YsUISlider::MIN_RANGE)
      ->_value(0)
      ->_max(10)
      ->_min(1)
      ->_slide(new YsJsFunction(YsJQuery::html(YsArgument::value('"Id: " + this.id + " Val: " + ui.value'))
                                ->in('#sliderVal'),'event, ui'))
   ,YsUISlider::build('#panelId .vertical')
      ->_range(YsUISlider::MIN_RANGE)
      ->_value(1)
      ->_max(10)
      ->_min(1)
      ->_orientation(YsOrientation::$VERTICAL)
      ->_slide(new YsJsFunction(YsJQuery::html(YsArgument::value('"Id: " + this.id + " Val: " + ui.value'))
                                  ->in('#sliderVal'),'event, ui'))
  );
?>

Comments

  • Support requests, bug reports, and off-topic comments will be deleted without warning.

blog comments powered by Disqus

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/project-web/jquery4php/lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryBuilder.php on line 127

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net