* recalculation of the visible ads is scheduled.
* If the value is choosen to small, a recalculation
* might be scheduled, while resizing is still in
- * progress. DEFAULT: 200.
+ * progress. DEFAULT: 500.
* debug: boolean Turn on/off console-debugging. DEFAULT: false.
*/
$.openx = function( options ) {
'min_prefix': 'min_',
'max_prefix': 'max_',
'pw_marker': 'pw',
- 'resize_delay': 200,
+ 'resize_delay': 500,
'debug': false
},
options
/** Remove leading HTML-comments, because IE will stumble otherwise */
inline = inline.slice(result[0].length,inline.length);
}
- $.globalEval(inline);
+ try {
+ $.globalEval(inline);
+ }
+ catch(e) {
+ if (console.error)
+ console.error('Error while executing inline script-code: ' + e.message);
+ }
insert_output(); // << The executed inline-code might have called document.write()!
}
else {