ReadMe.html 9.41 KB
<!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%">&lt;?=sys_ModShowMorepic(120,80,'')?&gt;</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%">&lt;?php
$morepicdhtemp='&lt;table&gt;&lt;tr&gt;[!--empirenews.listtemp--]&lt;td bgcolor=&quot;#cccccc&quot; align=&quot;center&quot; id=&quot;espicid[!--page--]&quot;[!--thiscss--]&gt;&lt;a href=&quot;#empirecms&quot; onclick=&quot;ecmsShowPic([!--page--]);&quot;&gt;&lt;img src=&quot;[!--spicurl--]&quot; width=&quot;[!--spicwidth--]&quot; height=&quot;[!--spicheight--]&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;br&gt;[!--spicno--]&lt;/td&gt;[!--empirenews.listtemp--]&lt;/tr&gt;&lt;/table&gt;';
sys_ModShowMorepic(120,80,$morepicdhtemp);
?&gt;</textarea></td>
        </tr>
        <tr> 
          <td height="25">&nbsp;</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%">&lt;div id=&quot;ecmssmallpicsid&quot;&gt;&lt;/div&gt;</textarea></td>
        </tr>
        <tr>
          <td height="25">&nbsp;</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%">&lt;table&gt;&lt;tr&gt;[!--empirenews.listtemp--]&lt;td bgcolor=&quot;#cccccc&quot; align=&quot;center&quot; id=&quot;espicid[!--page--]&quot;[!--thiscss--]&gt;&lt;a href=&quot;#empirecms&quot; onclick=&quot;ecmsShowPic([!--page--]);&quot;&gt;&lt;img src=&quot;[!--spicurl--]&quot; width=&quot;[!--spicwidth--]&quot; height=&quot;[!--spicheight--]&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;br&gt;[!--spicno--]&lt;/td&gt;[!--empirenews.listtemp--]&lt;/tr&gt;&lt;/table&gt;</textarea></td>
        </tr>
        <tr>
          <td height="25">&nbsp;</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%">&lt;style&gt;

/* 小圖導航(當前圖樣式) */
.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;
}

&lt;/style&gt;</textarea></td>
        </tr>
        
        <tr>
          <td height="25">&nbsp;</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">&nbsp;</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>&nbsp;</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>