光碟格式 |
Audio CD,Video CD,CD-I,CD-Extra,Photo CD,CD-Text,CD-ROM/XA,Multi-session CD,DVD Video |
var intControlsSpecificationSysWordingCheckId;
var intSpecMDAWirdingCheckId;
var sourcePath = "";
if (fileIsExisted("websites/" + getWebsite() + "/products/" + strID + "/specification.xml")) {
XML_Reader("websites/" + getWebsite() + "/products/" + strID + "/specification.xml", "specification");
}
else {
intControlsSpecificationSysWordingCheckId = setInterval("controlsSpecificationSysWordingCheckNoSpec()", intSysWordingCheckSpeed);
}
function appendSpecTable(extClass) {
var strSpecTable = "<h3 class='tab_name " + extClass + "'></h3><table class='spectable' cellpadding='0' cellspacing='0'><colgroup class='item_col'><col /></colgroup><colgroup class='content_col'><col /></colgroup></table>"
$("#specifications").append(strSpecTable);
}
function specification(xml) {
if ($("content", xml).text() == "" && sourcePath == "") {
intControlsSpecificationSysWordingCheckId = setInterval("controlsSpecificationSysWordingCheckNoSpec()", intSysWordingCheckSpeed);
return false;
}
if ($("spec_item:first", xml).parent("spec_item_group").text() == "") {
appendSpecTable("specTitle");
var targetSpecItem = $("spec_item:first", xml);
while ($(targetSpecItem).text() != "") {
$("table.spectable:last").append("<tr></tr>");
$("<td></td>").html($("name", targetSpecItem).text()).appendTo("table.spectable:last tr:last");
$("<td></td>").html($("spec", targetSpecItem).text()).appendTo("table.spectable:last tr:last");
targetSpecItem = $(targetSpecItem).next("spec_item");
}
}
$("spec_item_group", xml).each(function(e) {
appendSpecTable("specGroup");
$("h3.specGroup:last").html($("spec_item_group_name", this).text());
$("spec_item", this).each(function(e) {
$("table.spectable:last").append("<tr></tr>");
$("<td></td>").html($("name", this).text()).appendTo("table.spectable:last tr:last");
$("<td></td>").html($("spec", this).text()).appendTo("table.spectable:last tr:last");
});
});
// var specItemGroup = "";
// var specItemGroupTmp = "";
//
// $("spec_item", xml).each(function(e) {
// specItemGroupTmp = $("spec_item_group_name", $(this).parent("spec_item_group")).text();
// if (specItemGroupTmp != specItemGroup) {
// specItemGroup = specItemGroupTmp;
// appendSpecTable();
// $("h3.tab_name").html(specItemGroup);
// }
// $("table.spectable:last").append("<tr></tr>");
// $("<td></td>").html($("name", this).text()).appendTo("table.spectable:last tr:last");
// $("<td></td>").html($("spec", this).text()).appendTo("table.spectable:last tr:last");
// });
intControlsSpecificationSysWordingCheckId = setInterval("controlsSpecificationSysWordingCheck()", intSysWordingCheckSpeed);
intSpecMDAWirdingCheckId = setInterval("specMDAWirdingCheck()", intSysWordingCheckSpeed);
XML_Reader("websites/" + getWebsite() + "/XML/keyword.xml", "Keyword");
}
function controlsSpecificationSysWordingCheckNoSpec() {
if (sysWordingRead) {
sourcePath = ($("SpecificationSourcePath", sysWording).text() == "") ? "global" : $("SpecificationSourcePath", sysWording).text();
clearTimeout(intControlsSpecificationSysWordingCheckId);
XML_Reader("websites/" + sourcePath + "/products/" + strID + "/specification.xml", "specification");
}
}
function controlsSpecificationSysWordingCheck() {
if (sysWordingRead) {
$("#specifications h3.specTitle:first").html($("SpecificationsTagTitle", sysWording).text());
clearTimeout(intControlsSpecificationSysWordingCheckId);
}
}
function specMDAWirdingCheck() {
if (typeof(GenuineWording) != "undefined") {
showtipsSpec("Genuine", GenuineWording, GenuineContent);
clearTimeout(intSpecMDAWirdingCheckId);
}
}
function Keyword(xml) {
$("content keyword", xml).each(function(e) {
showtipsSpec("keyword" + e, $("name", this).text(), $("details", this).text());
});
}
適用濕度 |
操作時: 15% ~ 80% (無結霜) |