diff options
| author | Scott Ostler <sostler@deathmachine.local> | 2010-03-15 23:12:32 -0400 |
|---|---|---|
| committer | Scott Ostler <sostler@deathmachine.local> | 2010-03-15 23:12:32 -0400 |
| commit | d2bcd70e8ec45d2e265387665c06e75c66c40797 (patch) | |
| tree | acf2abced5e498ce3597fb33e69aab7e35b9bf5a /template/chat.st | |
| parent | 7a3bf6cf4266b4c431d42ac57a070dffda6a4084 (diff) | |
| parent | 67668085e7ea9c1638eab0c4a8ffd584316c0c5c (diff) | |
Merged
Diffstat (limited to 'template/chat.st')
| -rwxr-xr-x | template/chat.st | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/template/chat.st b/template/chat.st index bfef310..5ad8113 100755 --- a/template/chat.st +++ b/template/chat.st @@ -4,6 +4,7 @@ $head()$ <link rel="stylesheet" type="text/css" href="/static/pichat.css"> <script type="text/javascript" src="/static/webcam/webcam.js"></script> + <script type="text/javascript" src="/static/js/tooltip.js"></script> <script> jQuery(document).ready(initChat); var Nick = $json_user_nick$; @@ -23,6 +24,13 @@ setupUpload('upload', Room); }); } + var newwindow; +function pop(url) +{ + newwindow=window.open(url,'name','height=50,width=400,left=20,top=20,location=0,status=0,scrollbar=0,resizable=0'); + if (window.focus) {newwindow.focus()} +} + </script> <style> #topic { @@ -75,6 +83,7 @@ <input id="upload" value="Upload" type="submit"> <input id="webcam-button-upload" value="Webcam" type="submit"> <input id="webcam-button-snap" value="Send Pic" type="submit" class="invisible blink"> + <div id="trophy"><a href="javascript:pop('http://www.likeneveralways.com/trash/count/index.php');"class="tooltip" title="Contest Counter"><img src="/static/trophyicon.gif"></a></div> </div> $endif$ </div> |
