Mon, 22 Mar 2010 11:40:32 +0000
Add breaker div to bottom of question form
0 | 1 | <html> |
2 | <head> | |
1 | 3 | <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> |
11
bf6a0898e613
Include strophe in index.html
Matthew Wild <mwild1@gmail.com>
parents:
8
diff
changeset
|
4 | |
18
9e4230bb66e4
Update Strophe.js to 1.0.1 (fixes some issues)
Matthew Wild <mwild1@gmail.com>
parents:
17
diff
changeset
|
5 | <script type="text/javascript" src="js/strophe.js"></script> |
11
bf6a0898e613
Include strophe in index.html
Matthew Wild <mwild1@gmail.com>
parents:
8
diff
changeset
|
6 | |
bf6a0898e613
Include strophe in index.html
Matthew Wild <mwild1@gmail.com>
parents:
8
diff
changeset
|
7 | <script type="text/javascript" src="js/xmpp_muc.js"></script> |
2
ec7dc98a811d
Hide UI by default, include supportchat.js
Matthew Wild <mwild1@gmail.com>
parents:
1
diff
changeset
|
8 | <script type="text/javascript" src="js/supportchat.js"></script> |
29
f8c700c601f9
Move styles out into their own stylesheet now
Matthew Wild <mwild1@gmail.com>
parents:
24
diff
changeset
|
9 | <link rel="stylesheet" href="css/supportchat.css" /> |
1 | 10 | |
0 | 11 | <style type="text/css"> |
29
f8c700c601f9
Move styles out into their own stylesheet now
Matthew Wild <mwild1@gmail.com>
parents:
24
diff
changeset
|
12 | body |
5
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
13 | { |
29
f8c700c601f9
Move styles out into their own stylesheet now
Matthew Wild <mwild1@gmail.com>
parents:
24
diff
changeset
|
14 | font-family:Verdana !important; |
5
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
15 | } |
0 | 16 | </style> |
17 | </head> | |
18 | <body> | |
19 | <div id="support-chat"> | |
5
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
20 | <div id="support-question"> |
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
21 | <h2>What is the nature of your question?</h2> |
8
09d33857ca04
Fix element ids in index.html
Matthew Wild <mwild1@gmail.com>
parents:
6
diff
changeset
|
22 | <select id="support-question-type"> |
5
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
23 | <option>Sales</option> |
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
24 | <option>Technical</option> |
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
25 | </select> |
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
26 | <h2>What is your name?</h2> |
8
09d33857ca04
Fix element ids in index.html
Matthew Wild <mwild1@gmail.com>
parents:
6
diff
changeset
|
27 | <input id="support-question-name" type="text" /> |
5
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
28 | <h2>Your question:</h2> |
6 | 29 | <textarea id="support-question-text"></textarea><br/> |
30 | <input id="support-question-submit" type="submit" /> | |
5
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
31 | </div> |
17 | 32 | <div id="support-wait">Please wait...</div> |
5
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
33 | <div id="support-converse"> |
30
46b5a79cfc4b
Remove dummy text from question elements
Matthew Wild <mwild1@gmail.com>
parents:
29
diff
changeset
|
34 | <div id="support-log"></div> |
46b5a79cfc4b
Remove dummy text from question elements
Matthew Wild <mwild1@gmail.com>
parents:
29
diff
changeset
|
35 | <div id="support-input-container"><textarea id="support-input" type="text" value=""></textarea></div> |
5
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
36 | <input id="support-send-button" type="submit" value="Send" /> |
31
4e192784767a
Add breaker div to bottom of question form
Matthew Wild <mwild1@gmail.com>
parents:
30
diff
changeset
|
37 | <div style="clear:right;"></div> |
5
10712e3ac061
Split UI into stages, add simple question form
Matthew Wild <mwild1@gmail.com>
parents:
2
diff
changeset
|
38 | </div> |
0 | 39 | </div> |
40 | </body> | |
41 | </html> |