<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<script type="text/javascript">
// <![CDATA[
function openWindow(url,name,width,height,options) {
width = width ? width : 800;
height = height ? height : 600;
options = options ? options : 'resizable=yes';
name = name ? name : 'openWindow';
window.open(
url,
name,
'screenX='+(screen.width-width)/2+',screenY='+(screen.height-height)/2+',width='+width+',height='+height+','+options
)
}
// ]]>
</script>
<a href="chat/" onclick="openWindow(this.href,'chat');this.blur();return false;">ajax Chat</a>
|
<a href="ajaxim/" onclick="openWindow(this.href,'chat2');this.blur();return false;">ajax im</a>
<h3>一、ajax im(http://old.ajaxim.com)</h3>
<ol>
<li>ajax im比較類似MSN,可針對好友僅行即時通訊。</li>
<li>將ajax_im_3.41_yui.zip解壓縮到目錄下,如 ajaxim</li>
<li>將 config-sample.php 複製一份並改名為 config.php,開啟該檔,設定資料庫。</li>
<li>用瀏覽器執行「http://網址/ajaxim/install.php」會自動建立資料庫。</li>
<li>接著,刪除install.php ,並執行「http://網址/ajaxim/」即可使用。</li>
</ol>
<h3>二、ajax chat(https://blueimp.net/ajax/)</h3>
<ol>
<li>ajax chat比較類似聊天室。相關文件:http://sourceforge.net/apps/mediawiki/ajax-chat/</li>
<li>將ajax_chat-0.8.3.zip解壓縮到目錄下,如 chat</li>
<li>將 lib/config.php.example 複製一份並改名為 config.php,開啟該檔設定資料庫。</li>
<li>用瀏覽器執行「http://網址/chat/install.php」會自動建立資料庫。</li>
<li>接著,刪除install.php ,並執行「http://網址/chat/」即可使用。</li>
</ol>
</body>
</html>