Implemented logoff link and window flashing

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1884 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Bill Lynch 2003-04-11 18:43:06 +00:00 committed by blynch
parent 8e5fbab10d
commit 9baffa95e6
4 changed files with 11 additions and 3 deletions

View File

@ -26,8 +26,7 @@ to start your chat session.
Other options:
<ul>
<li><a href="email">Email Transcript</a>
<li><a href="something">Something Else</a>
<li><a href="email" onclick="alert('Coming soon');return false;">Email Transcript</a>
</ul>
</body>

View File

@ -4,6 +4,14 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Chat Session</title>
<script language="JavaScript" type="text/javascript">
function handleLogoff() {
if (confirm('Are you sure you want to end this chat session and close this window?')) {
window.close();
}
return false;
}
</script>
</head>
<frameset rows="25,30,*,95,0,0,0" border="0" frameborder="0" framespacing="0">

View File

@ -24,6 +24,7 @@
+ "'>" + data[i][1] + "</span></div>");
}
}
window.focus();
}
</script>
<style type="text/css">

View File

@ -22,7 +22,7 @@
</td>
<td width="1%" nowrap>
<font size="-2">
<a href="#" onclick="alert('Not implemented right now');return false;">End Chat (Log Off)</a>
<a href="#" onclick="parent.handleLogoff();return false;">End Chat (Log Off)</a>
</font>
</td>
</tr>