ReadMe.html
9.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>帝國CMS-圖集顯示插件</title>
<style type=text/css>
<!--
{ font-family: 細明體; font-size: 12px; line-height: 19px; color: #333333;text-decoration: none} a:hover { color: #FF0000}a:hover { text-decoration: none}a:hover { line-height: 19px}a:link { font-family: 細明體; font-size: 14px; line-height: 19px; color: #333333;text-decoration: none} a:visited { text-decoration: none; }Table{ font-family: 細明體; font-size: 13px; color: #000000; line-height: 21px; text-decoration: none } }
.box {border: 1px solid #333333;height: 10px;width: 10px;font-size:1px;cursor:hand;filter:blur(add=ture,direction=135,strength=2);}
.STYLE1 {color: #666666}
-->
</Style>
</head>
<body>
<table width="800" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#4FB4DE">
<tr>
<td height="38"><div align="center"><strong><font color="#FFFFFF" size="4">帝國CMS - 圖集顯示插件使用說明</font></strong></div></td>
</tr>
<tr>
<td height="30" bgcolor="#FFFFFF"> <div align="center"><a href="http://www.phome.net/OpenSource/" target="_blank"><font color="#FF0000"><strong>帝國CMS - 最安全、最穩定的開源CMS系統</strong></font></a></div></td>
</tr>
<tr>
<td height="23" bgcolor="#C9F1FF"><strong>一、顯示效果:</strong></td>
</tr>
<tr>
<td height="30" bgcolor="#FFFFFF"> <table width="99%" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td height="23"><div align="center"><img src="doc/demopic.jpg" width="600" height="600"></div></td>
</tr>
</table>
<br></td>
</tr>
<tr>
<td height="23" bgcolor="#C9F1FF"><strong>二、使用語法說明</strong></td>
</tr>
<tr>
<td height="30" bgcolor="#FFFFFF"> <table width="99%" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td height="25"><strong><font color="#0000FF">(一)、【顯示圖集函數語法說明】</font></strong></td>
</tr>
<tr>
<td height="25"><strong>1、格式:</strong></td>
</tr>
<tr>
<td height="25"><input name="textarea" type="text" style="WIDTH:100%" value="sys_ModShowMorepic(導航小圖寬度,導航小圖高度,小圖導航模板內容)" size="60"></td>
</tr>
<tr>
<td height="25"><font color="#666666">(其中「小圖導航模板內容」參數可以不設置。)</font></td>
</tr>
<tr>
<td height="25"><strong>2、使用範例1:</strong></td>
</tr>
<tr>
<td height="25"><textarea name="textarea2" cols="80" rows="2" wrap="off" style="WIDTH:100%"><?=sys_ModShowMorepic(120,80,'')?></textarea></td>
</tr>
<tr>
<td height="25"><strong>3、使用範例2:</strong>(指定小圖導航模板)</td>
</tr>
<tr>
<td height="25"><textarea name="textarea3" cols="80" rows="5" wrap="off" style="WIDTH:100%"><?php
$morepicdhtemp='<table><tr>[!--empirenews.listtemp--]<td bgcolor="#cccccc" align="center" id="espicid[!--page--]"[!--thiscss--]><a href="#empirecms" onclick="ecmsShowPic([!--page--]);"><img src="[!--spicurl--]" width="[!--spicwidth--]" height="[!--spicheight--]" border="0"></a><br>[!--spicno--]</td>[!--empirenews.listtemp--]</tr></table>';
sys_ModShowMorepic(120,80,$morepicdhtemp);
?></textarea></td>
</tr>
<tr>
<td height="25"> </td>
</tr>
<tr>
<td height="25"><strong><font color="#0000FF">(二)、【顯示內容的層ID說明】</font></strong></td>
</tr>
<tr>
<td height="25"><strong>1、顯示內容層ID名稱列表:</strong></td>
</tr>
<tr>
<td height="25"><p> (1)、顯示小圖導航:ecmssmallpicsid<br>
(2)、顯示下拉分頁導航:ecmsselectpagesid<br>
(3)、顯示列表分頁導航:ecmslistpagesid</p>
<p>(4)、表單ID:eViewPicForm<br>
(5)、當前分頁號:ethispage<br>
(6)、是否自動播放:autoplaystop<br>
(7)、自動播放秒數:autoplaysec<br>
(8)、大圖顯示:ecmsbigpicid<br>
(9)、小圖顯示:ecmssmallpicid<br>
(10)、圖片說明:ecmspicnameid</p></td>
</tr>
<tr>
<td height="25"><strong>2、例子:</strong>顯示小圖導航位置 </td>
</tr>
<tr>
<td height="25">
<textarea name="textarea4" cols="80" rows="2" wrap="off" style="WIDTH:100%"><div id="ecmssmallpicsid"></div></textarea></td>
</tr>
<tr>
<td height="25"> </td>
</tr>
<tr>
<td height="25"><strong><font color="#0000FF">(三)、【小圖導航模板變量說明】</font></strong></td>
</tr>
<tr>
<td height="25"><strong>1、模板製作格式:</strong></td>
</tr>
<tr>
<td height="25">列表頭[!--empirenews.listtemp--]列表內容[!--empirenews.listtemp--]列表尾</td>
</tr>
<tr>
<td height="25"><strong>2、變量說明:</strong></td>
</tr>
<tr>
<td height="25">(1)、[!--page--]:圖片頁碼<br>
(2)、[!--thiscss--]:當前圖的CSS樣式<br>
(3)、[!--spicurl--]:小圖圖片地址<br>
(4)、[!--spicwidth--]:圖片寬度<br>
(5)、[!--spicheight--]:圖片高度<br>
(6)、[!--spicno--]:當前圖片編號</td>
</tr>
<tr>
<td height="25"><strong>3、模板範例:</strong></td>
</tr>
<tr>
<td height="25"><textarea name="textarea5" cols="80" rows="2" wrap="off" style="WIDTH:100%"><table><tr>[!--empirenews.listtemp--]<td bgcolor="#cccccc" align="center" id="espicid[!--page--]"[!--thiscss--]><a href="#empirecms" onclick="ecmsShowPic([!--page--]);"><img src="[!--spicurl--]" width="[!--spicwidth--]" height="[!--spicheight--]" border="0"></a><br>[!--spicno--]</td>[!--empirenews.listtemp--]</tr></table></textarea></td>
</tr>
<tr>
<td height="25"> </td>
</tr>
<tr>
<td height="25"><strong><font color="#0000FF">(四)、【CSS定義說明】</font></strong></td>
</tr>
<tr>
<td height="25"><strong>1、CSS名稱說明:</strong></td>
</tr>
<tr>
<td height="25">(1)、小圖導航(當前圖樣式)css名稱:espiccss</td>
</tr>
<tr>
<td height="25">(2)、列表分頁導航(當前分頁樣式)css名稱:epiclpcss</td>
</tr>
<tr>
<td height="25">(3)、大圖顯示css名稱:eimgBox</td>
</tr>
<tr>
<td height="25"><strong>2、使用範例:</strong></td>
</tr>
<tr>
<td height="25"><textarea name="textarea6" cols="80" rows="12" wrap="off" style="WIDTH:100%"><style>
/* 小圖導航(當前圖樣式) */
.espiccss{background-color:#666666;color:#ffffff;}
/* 列表分頁導航(當前分頁樣式) */
.epiclpcss{font-weight:bold;}
/* 大圖顯示 */
.eimgBox{
position: relative;
float:left;
}
.eimgBox div{
position:absolute;
left:0px;
top:0px;
width:50%;
height:98%;
background: #fff;
opacity:0.0;
filter:alpha(opacity=0);
}
.eimgBox .eimgboxleft{
cursor: pointer;
}
.eimgBox .eimgboxright{
left:50%;
cursor: pointer;
}
</style></textarea></td>
</tr>
<tr>
<td height="25"> </td>
</tr>
<tr>
<td height="25"><strong><font color="#0000FF">(五)、【其它說明】</font></strong></td>
</tr>
<tr>
<td height="25">1、支持鍵盤方向鍵切換圖片。<br>
2、點擊圖片左右兩邊切換上下張圖片。</td>
</tr>
<tr>
<td height="25"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><strong><font color="#FFFFFF">三、完整範例</font></strong></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="99%" border="0" align="center" cellpadding="3" cellspacing="1">
<tr>
<td><strong>內容模板使用圖集顯示插件完整範例:</strong>可參考本目錄下的「<a href="example.html" target="_blank">example.html</a>」文件html源代碼。</td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<hr>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td height="25">
<div align="center"><a href="http://www.phome.net" target="_blank">官方網站</a> |
<a href="http://bbs.phome.net" target="_blank">論壇交流</a> | <a href="http://www.phome.net/product/" target="_blank">產品中心</a>
| <a href="http://www.phome.net/download/" target="_blank">產品下載中心</a></div></td>
</tr>
</table>
</body>
</html>