Changes

Jump to: navigation, search

JQuery HTML Updater

435 bytes removed, 16:44, 10 May 2010
Section Target callbacks
Additonally, you can specify some javascript callback functions to add_section_target, if desired. These can be useful for modifying the HTML returned by Umlaut before it's placed on your page, or modifying other parts of your page upon receiving content.
==== after_initialize(html, target_obj) ====
 
The HtmlUpdate object adds an initially hidden div to the page to hold umlaut content. It's added in the place specified by selector/position. This callback is called immediately _after_ the div has been added to the DOM in the specified place; the first argument to the callback is that hidden div DOM element. This callback is useful for adding your own styles or classes to the div.
==== before_update(html, count, target_obj) ====

Navigation menu