diff options
| -rw-r--r-- | template/chat.st | 14 | ||||
| -rw-r--r-- | template/tinychat.st | 12 |
2 files changed, 26 insertions, 0 deletions
diff --git a/template/chat.st b/template/chat.st index 2eb1f30..c54936b 100644 --- a/template/chat.st +++ b/template/chat.st @@ -48,10 +48,24 @@ $endif$ } jQuery(document).ready(startTitleUpdater); </script> + <style> + #chat-wrapper { + position: absolute; + z-index: 1000000; + right: 100px; + bottom: 100px; + height: 40px; + width: 300px; + }; + </style> </head> <body> $banner()$ +$if(isadmin)$ +$tinychat()$ +$endif$ <div id="chatrap"> + <div id="content"> <div id="messagetabs"></div> <div id="rapper"> diff --git a/template/tinychat.st b/template/tinychat.st new file mode 100644 index 0000000..58ecba3 --- /dev/null +++ b/template/tinychat.st @@ -0,0 +1,12 @@ +$if(user_nick)$ +<script> + var tinychat = { + room: "dump.fm tinychat" + , nick: "$user_nick$" + , oper: "none" + , urlsuper: "http://dump.fm" + }; +</script> +<script src="http://tinychat.com/js/embed.js"></script> +<div id="chat-wrapper"><h3>Tinychat Friends<h3><div id="client"></div></div> +$endif$ |
