📄 catalog.htm
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>鍥句功绫诲埆</title>
<script src="js/contentReader.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
<!--
var id,catalog,bookName,publisher,price,count;
var imgsrc,Info;
function createFrameTable(){
var table=document.createElement("table");
table.setAttribute("border","0");
table.setAttribute("width","97%");
table.setAttribute("cellspacing","2");
table.setAttribute("cellpadding","5");
table.setAttribute("align","center");
document.body.appendChild(table);
var row=table.insertRow(0);
var cell = document.createElement("td");
cell.appendChild(createFormatTable());
row.appendChild(cell);
row =table.insertRow(1);
cell = document.createElement("td");
cell.appendChild(createInfoTable());
row.appendChild(cell);
}
function createFormatTable(){
var table=document.createElement("table");
table.setAttribute("border","0");
table.setAttribute("width","98%");
table.setAttribute("cellspacing","0");
table.setAttribute("cellpadding","0");
table.setAttribute("align","center");
var row = table.insertRow(0);
var cell = document.createElement("td");
cell.setAttribute("height","1");
row.appendChild(cell);
row = table.insertRow(1);
cell = document.createElement("td");
cell.appendChild(createContentTable());
row.appendChild(cell);
return table;
}
function createContentTable(){
var table=document.createElement("table");
table.setAttribute("border","0");
table.setAttribute("width","100%");
table.setAttribute("cellspacing","0");
table.setAttribute("cellpadding","0");
table.setAttribute("align","center");
var row = table.insertRow(0);
var imgcell = document.createElement("td");
imgcell.setAttribute("height","148");
imgcell.setAttribute("width","16%");
row.appendChild(imgcell);
var img=document.createElement("img");
img.setAttribute("src",imgsrc);
imgcell.appendChild(img);
var contentcell=document.createElement("td");
contentcell.setAttribute("width","84%");
contentcell.appendChild(createAttrTable());
row.appendChild(contentcell);
return table;
}
function createAttrTable(){
var table=document.createElement("table");
table.setAttribute("border","0");
table.setAttribute("width","98%");
table.setAttribute("cellspacing","0");
table.setAttribute("cellpadding","0");
table.setAttribute("align","center");
var row=table.insertRow(0);
var cell=document.createElement("td");
cell.setAttribute("height","28");
row.appendChild(cell);
var font=document.createElement("font");
font.setAttribute("color","#0000A0");
font.setAttribute("size","3");
cell.appendChild(font);
font.appendChild(document.createTextNode(bookName));
row=table.insertRow(1);
var cell=document.createElement("td");
cell.setAttribute("height","25");
row.appendChild(cell);
cell.appendChild(document.createTextNode("鍑虹増绀撅細"+publisher));
row=table.insertRow(2);
var cell=document.createElement("td");
cell.setAttribute("height","25");
row.appendChild(cell);
cell.appendChild(document.createTextNode("瀹氫环锛氾骏"+price));
row=table.insertRow(3);
var cell=document.createElement("td");
cell.setAttribute("height","25");
row.appendChild(cell);
cell.appendChild(document.createTextNode("搴撳瓨锛
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -