If you are looking for a CMS that is powered by jQuery, Drupal version
5 (currently in Beta) is using jQuery as it's core JS library, and is
integrating it into the main API.  For example, to add a jQuery
function you use the drupal_add_js hook in Drupal:

<?php

drupal_add_js (
    '$(document).ready(function(){$("p.jtest").fadeIn(6000);}); ',
    'inline');
?>

<p class="jtest" style="background-color: palegreen; width: 30em;">

This is an example of an effect which is built into the core jQuery
library. This text should fade in after the DOM is loaded. <a
href="http://api.drupal.org/api/HEAD/function/drupal_add_js";>
drupal_add_js()</a> was used to add the <a
href="http://jquery.com/api/";> fadeIn</a> effect to any paragraph with
the class <b>jtest</b>.

</p>



On 11/14/06, howard chen <[EMAIL PROTECTED]> wrote:
> as title...
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to