Changes

JQuery HTML Updater

1 byte added, 21:45, 10 May 2010
Complete Example
var updater = new Umlaut.HtmlUpdater($UMLAUT_BASE , ctx_object_kev );
updater.add_section_target({ umlaut_section_id: "fulltext", selector:".my_full_text" , before_update: function(html, count) { return (count =!= 0); }});
before_update: function(html, count) {
//only show if there are hits
return ( count =!= 0);
}
});
selector:".only_if_content",
after_update: function(updated_content, count) {
if ( count > != 0 ) {
updated_content.closest(".only_if_content").show();
}