Changeset 5709 in spip-zone


Ignore:
Timestamp:
Sep 26, 2006, 5:12:02 PM (15 years ago)
Author:
renato@…
Message:

the effect is applied after an ajax load too if ajax_callback plugin is active (try it with pagination ahah)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/_squelettes_/fading_rollover/fadingrollover.js

    r4513 r5709  
    1111var FADINGROLLOVER_COLOR = '#FF0000';
    1212
    13 $(document).ready(function() {
    14         $(FADINGROLLOVER_SEL).fadingRollover(FADINGROLLOVER_COLOR);
    15 });
     13var init_f = function() {
     14        $(FADINGROLLOVER_SEL,this).fadingRollover(FADINGROLLOVER_COLOR);
     15}
     16if (typeof onAjaxLoad == "function") onAjaxLoad(init_f);
     17$(document).ready(init_f);
    1618
    1719//fadingRollover effect
Note: See TracChangeset for help on using the changeset viewer.