<script type="text/javascript" src="localize.js"></script>
<base target="_blank"/>
-<script type="text/javascript">
- var onframe = function(id, name) {
- var node = document.getElementById(id);
- var frame = window.frames[name];
-
- try {
- node.height = frame.document.body.scrollHeight;
- } catch (e) {
- node.height = 370;
- node.width = 320;
- }
- };
-</script>
-
<!--script type="text/javascript">
var count = -1;
var loaded = function() {
#rating-done {
display: none;
}
+
+ #depiction-src,
+ #notice-src {
+ height: 1px;
+ width: 320px;
+ }
</style>
</head><body class="pinstripe">
<dialog><panel>
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_();