jQuery4PHP Current Release: v1.7.0 - Stable

jQuery version: v1.8.2

jQueryUI version: Stable (1.8.24: jQuery 1.3.2+)

jQuery4php API

Effects

Hide navigator Hide source code

The jQuery4PHP library provides several techniques for adding animation to a web page. These include simple, standard animations that are frequently used, and the ability to craft sophisticated custom effects. In this chapter, we’ll closely examine each of the effect methods, revealing all of the mechanisms jQuery4PHP has for providing visual feedback to the user.

Delay

Set a timer to delay execution of subsequent items in the queue.
<div>
<input type="button" value="Run" id="btnRunDelay" />
<div id="divToDelay" style="width: 60px; 
                            height: 60px;
                            background-color: #3f3;"></div>
<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in('#btnRunDelay')
  ->execute(
    YsJQuery::slideUp()->duration(700)->in('#divToDelay'),
    YsJQuery::delay()->duration(5000),
    YsJQuery::fadeIn()->duration(YsJQueryConstant::SLOW)
  )
?>
</div>

Comments

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

blog comments powered by Disqus

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net