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.

FadeToggle

<div>
<input type="button" value="Run" id="btnRunFadeto" />
<div id="divToFadeto">
  <img style="background-color:black" 
       src="images/jquery4php-logo.jpg"
       width="215" height="53" />
</div>
<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in('#btnRunFadeto')
  ->execute(
    YsJQuery::fadeToggle()
      ->in('#divToFadeto')
      ->duration(YsJQueryConstant::SLOW)
      ->easing("linear")
      ->callback('alert("fadeToggle")')
  )
?>
</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