if (typeof value.notice == "undefined")
$(".notice").addClass("deleted");
else
- $("#notice-src")[0].outerHTML = '<iframe' +
- ' class="notice"' +
- ' id="notice-src"' +
- ' frameborder="0"' +
- ' width="320"' +
- ' height="0"' +
- ' target="_top"' +
- ' src="' + $.xml(value.notice) + '"' +
- ' onload="onframe(' + "'notice-src', 'notice'" + ')"' +
- '></iframe>';
+ $("#notice-src").src(value.notice);
if (typeof value.rating == "undefined")
$(".rating").addClass("deleted");
$(".depiction").addClass("deleted");
else {
$(".description").addClass("deleted");
-
- $("#depiction-src")[0].outerHTML = '<iframe' +
- ' class="depiction"' +
- ' id="depiction-src"' +
- ' frameborder="0"' +
- ' width="320"' +
- ' height="0"' +
- ' target="_top"' +
- ' src="' + $.xml(depiction) + '"' +
- ' onload="onframe(' + "'depiction-src', 'depiction'" + ')"' +
- '></iframe>';
+ $("#depiction-src").src(depiction);
}
var description = package.longDescription;
' width="320"' +
' height="0"' +
' target="_top"' +
- ' onload="onframe(' + "'notice-src', 'notice'" + ')"' +
'></iframe>';
var depiction = $("#depiction-src");
' width="320"' +
' height="0"' +
' target="_top"' +
- ' onload="onframe(' + "'depiction-src', 'depiction'" + ')"' +
+ ' onload_="loaded()"' +
'></iframe>';
special_();