max-m
f67405866b
Fixed and changed counter a bit.
...
Now a counter can be created like this:
$('INPUT').jCounter(<null, options>);
The element input element will be wrapped in two divs,
the counterContainer div and a second div (display table and table-row ;) ).
Then the counter will be appended to the new created parent of the Input (the second div).
And it can be called like this:
$('INPUT').jCounter(either an id, a class or an object ($('bla')) <, options>);
2011-12-20 16:06:48 +01:00
Tim Düsterhus
2d8724854b
Porting counter to coffeescript
2011-12-19 17:36:05 +01:00
Tim Düsterhus
d5cbbdb34d
Official file extension is coffee
2011-12-19 17:22:10 +01:00
Tim Düsterhus
d2f9858734
More JSDoc
2011-12-19 15:52:00 +01:00
Tim Düsterhus
d275f86498
Adding JSDoc
2011-12-19 15:46:40 +01:00
Tim Düsterhus
8cb95a94be
Ported TimWolla.WCF.Chat.js to coffeescript
2011-12-19 15:44:27 +01:00
max-m
fc16da5acd
Trigger chatInput keyup event on submit and insertText
...
Also check if appended text would be longer than allowed maximum, if so return and focus chatInput
2011-12-19 13:58:40 +01:00
Tim Düsterhus
bc386af3d5
Bind to this (i hate it)
2011-12-18 16:13:22 +01:00
Tim Düsterhus
52445e9cb9
Automatically refresh the room-list
2011-12-18 16:09:40 +01:00
Tim Düsterhus
818d51608c
Merge branch 'chatTplRedesign' of github.com:wbbaddons/Tims-Chat into chatTplRedesign
...
Conflicts:
template/chat.tpl
2011-12-18 15:49:17 +01:00
max-m
9001c668ea
Changed counter a bit.
2011-12-18 15:46:16 +01:00
Tim Düsterhus
0bf39ff7a4
Fix ajaxLoad onSubmit
2011-12-18 15:33:47 +01:00
Tim Düsterhus
9f563de4e8
Merge branch 'chatTplRedesign' of github.com:wbbaddons/Tims-Chat into chatTplRedesign
2011-12-18 14:53:17 +01:00
Tim Düsterhus
6790c9077f
Use this instead of event.target
...
The second one differs from where your clicked
2011-12-18 14:52:20 +01:00
max-m
324977acf8
Added a little character counter next to chatInput.
2011-12-17 21:29:57 +01:00
max-m
decd03b079
Merge branch 'chatTplRedesign' of github.com:wbbaddons/Tims-Chat into chatTplRedesign
2011-12-17 18:41:29 +01:00
max-m
49ea229781
Added sidebar tabs :)
2011-12-17 18:40:17 +01:00
Tim Düsterhus
f8c2ba051e
Removed unneeded code.
2011-12-17 12:10:32 +01:00
Tim Düsterhus
987482c590
Use .ajaxLoad for spinner in input
2011-12-16 18:23:58 +01:00
Tim Düsterhus
94870c557e
Made every button functional
2011-12-15 22:54:49 +01:00
Tim Düsterhus
9a8663155b
Made Clear-Button functional
2011-12-15 22:34:53 +01:00
Tim Düsterhus
bb1fd6e82c
First try of redesign
2011-12-15 18:55:44 +01:00
Tim Düsterhus
34642d70c8
Removing expected data-type
2011-12-13 23:23:28 +01:00
Tim Düsterhus
04a6570bb4
Adding missing comma
2011-12-13 22:34:05 +01:00
Tim Düsterhus
062241ce70
Moved submit into an own method
2011-12-13 21:52:32 +01:00
Tim Düsterhus
e0a7943c1c
Reformatting
2011-12-13 21:50:28 +01:00
Tim Düsterhus
b73ba2168c
Adding JSDoc
2011-12-13 21:48:13 +01:00
Tim Düsterhus
e68dec0573
Fix the comments
2011-12-13 21:44:56 +01:00
Tim Düsterhus
452315f5f7
Focus chatInput after inserting text
2011-12-13 21:44:31 +01:00
max-m
0165b0c1ac
Implemented the send-event.
2011-12-13 21:40:39 +01:00
Tim Düsterhus
c7d867905f
Adding options-object for insertText
2011-12-12 16:16:24 +01:00
max-m
1d8b96aefc
Fixed typo
2011-12-12 15:52:36 +01:00
max-m
29174e5afc
Completely reworked frontend
2011-12-11 23:29:43 +01:00
Tim Düsterhus
96f468b3ca
Adding onSubmit-event-skeleton and correct icon-urls
2011-12-11 13:27:39 +01:00
Tim Düsterhus
f8024bbf2b
Adding insertText method
2011-12-11 13:01:35 +01:00
Tim Düsterhus
df68fbc889
Adding onError for room-change
2011-12-11 12:58:13 +01:00
Tim Düsterhus
3215fc4aec
Adding missing semicolon
2011-12-10 15:57:38 +01:00
Tim Düsterhus
63cd1a31b3
Scroll the messages down automatically
2011-12-05 14:58:01 +01:00
Tim Düsterhus
f76fcca04d
Optimizing use of chatMessage-Template. We can now insert messages via JS
2011-12-05 14:45:50 +01:00
Tim Düsterhus
d20fd79ece
Optimizing our JavaScript
2011-12-04 19:06:34 +01:00
max-m
e7e8457ca5
Made userlist toggleable.
2011-12-04 11:52:56 +01:00
max-m
f47b796051
Deleted spinner background
2011-12-04 01:32:14 +01:00
max-m
c0f481fb13
Prevent new loading of active channel.
2011-12-04 01:27:21 +01:00
max-m
bc604dc658
Added ajax loading indicators next to channel name.
2011-12-04 00:44:16 +01:00
max-m
ac6ce5dfac
Fixed topic animation.
2011-12-03 21:23:13 +01:00
Tim Düsterhus
3bf303a612
Change Page-Title as well
2011-12-03 18:07:57 +01:00
Tim Düsterhus
65de6db578
Room-Change via Ajax is functional now
2011-12-03 17:37:20 +01:00
Tim Düsterhus
96e13535e1
Mark new room as active
...
... and old one no longer as active
2011-12-03 15:06:36 +01:00
Tim Düsterhus
8b2f5c7bb7
Adding click-event for chat-rooms
2011-12-03 15:01:54 +01:00
Tim Düsterhus
46c063085d
Adding onbeforeunload-event
2011-12-02 23:16:55 +01:00
Tim Düsterhus
c28b0a3067
Alert smiley-code on click.
...
Will be replaced with inserting into input lateron.
2011-11-27 13:13:59 +01:00
Tim Düsterhus
063fb644b0
Read $_GET['id'] and pass it to template
2011-11-26 17:19:34 +01:00
Tim Düsterhus
8cd5aaed42
Adding basic file-structure
2011-11-26 15:17:17 +01:00