questa è il codice:
codice:
$(function() {
// if the function argument is given to overlay,
// it is assumed to be the onBeforeLoad event listener
$("a[rel]").overlay({
expose: 'darkred',
effect: 'apple',
onBeforeLoad: function() {
// grab wrapper element inside content
var wrap = this.getContent().find("div.wrap");
// load the page specified in the trigger
wrap.load(this.getTrigger().attr("href"));
}
});
});
vorrei solamente che alla chiusura del pop up il div wrap venga svuotato in modo tale da risolvere il problema che si manifesta in ie