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.

FadeIn

Display the matched elements by fading them to opaque.
<div>
<input type="button" value="Run" id="btnRunFadein" />
<div style="display:none" id="divToFadeIn">
  <img style="background-color:black" 
       src="images/jquery4php-logo.jpg"
       width="215" height="53" />
</div>
<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in('#btnRunFadein')
  ->execute(
    YsJQuery::fadeIn()
      ->in('#divToFadeIn')
      ->duration(YsJQueryConstant::SLOW)
      ->callback('alert("Fade In")')
  )
?>
</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