mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 15:32:06 +01:00
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:
parent
8e5fbab10d
commit
9baffa95e6
4 changed files with 11 additions and 3 deletions
|
@ -26,8 +26,7 @@ to start your chat session.
|
||||||
Other options:
|
Other options:
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="email">Email Transcript</a>
|
<li><a href="email" onclick="alert('Coming soon');return false;">Email Transcript</a>
|
||||||
<li><a href="something">Something Else</a>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -4,6 +4,14 @@
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<title>Chat Session</title>
|
<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>
|
</head>
|
||||||
|
|
||||||
<frameset rows="25,30,*,95,0,0,0" border="0" frameborder="0" framespacing="0">
|
<frameset rows="25,30,*,95,0,0,0" border="0" frameborder="0" framespacing="0">
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
+ "'>" + data[i][1] + "</span></div>");
|
+ "'>" + data[i][1] + "</span></div>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
window.focus();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td width="1%" nowrap>
|
<td width="1%" nowrap>
|
||||||
<font size="-2">
|
<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>
|
</font>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue