diff --git a/WebRoot/chartroom/arclist/100.gif b/WebRoot/chartroom/arclist/100.gif new file mode 100644 index 0000000..d486521 Binary files /dev/null and b/WebRoot/chartroom/arclist/100.gif differ diff --git a/WebRoot/chartroom/arclist/101.gif b/WebRoot/chartroom/arclist/101.gif new file mode 100644 index 0000000..42f4c37 Binary files /dev/null and b/WebRoot/chartroom/arclist/101.gif differ diff --git a/WebRoot/chartroom/arclist/102.gif b/WebRoot/chartroom/arclist/102.gif new file mode 100644 index 0000000..2e84dbd Binary files /dev/null and b/WebRoot/chartroom/arclist/102.gif differ diff --git a/WebRoot/chartroom/arclist/103.gif b/WebRoot/chartroom/arclist/103.gif new file mode 100644 index 0000000..27b0265 Binary files /dev/null and b/WebRoot/chartroom/arclist/103.gif differ diff --git a/WebRoot/chartroom/arclist/104.gif b/WebRoot/chartroom/arclist/104.gif new file mode 100644 index 0000000..b2f9599 Binary files /dev/null and b/WebRoot/chartroom/arclist/104.gif differ diff --git a/WebRoot/chartroom/arclist/105.gif b/WebRoot/chartroom/arclist/105.gif new file mode 100644 index 0000000..c3249b3 Binary files /dev/null and b/WebRoot/chartroom/arclist/105.gif differ diff --git a/WebRoot/chartroom/arclist/106.gif b/WebRoot/chartroom/arclist/106.gif new file mode 100644 index 0000000..6308096 Binary files /dev/null and b/WebRoot/chartroom/arclist/106.gif differ diff --git a/WebRoot/chartroom/arclist/107.gif b/WebRoot/chartroom/arclist/107.gif new file mode 100644 index 0000000..d91d084 Binary files /dev/null and b/WebRoot/chartroom/arclist/107.gif differ diff --git a/WebRoot/chartroom/arclist/108.gif b/WebRoot/chartroom/arclist/108.gif new file mode 100644 index 0000000..390c34e Binary files /dev/null and b/WebRoot/chartroom/arclist/108.gif differ diff --git a/WebRoot/chartroom/arclist/109.gif b/WebRoot/chartroom/arclist/109.gif new file mode 100644 index 0000000..4041948 Binary files /dev/null and b/WebRoot/chartroom/arclist/109.gif differ diff --git a/WebRoot/chartroom/arclist/110.gif b/WebRoot/chartroom/arclist/110.gif new file mode 100644 index 0000000..933c7de Binary files /dev/null and b/WebRoot/chartroom/arclist/110.gif differ diff --git a/WebRoot/chartroom/arclist/111.gif b/WebRoot/chartroom/arclist/111.gif new file mode 100644 index 0000000..0a08f2b Binary files /dev/null and b/WebRoot/chartroom/arclist/111.gif differ diff --git a/WebRoot/chartroom/arclist/112.gif b/WebRoot/chartroom/arclist/112.gif new file mode 100644 index 0000000..a6fa4d4 Binary files /dev/null and b/WebRoot/chartroom/arclist/112.gif differ diff --git a/WebRoot/chartroom/arclist/113.gif b/WebRoot/chartroom/arclist/113.gif new file mode 100644 index 0000000..b435726 Binary files /dev/null and b/WebRoot/chartroom/arclist/113.gif differ diff --git a/WebRoot/chartroom/arclist/114.gif b/WebRoot/chartroom/arclist/114.gif new file mode 100644 index 0000000..6f6d2ff Binary files /dev/null and b/WebRoot/chartroom/arclist/114.gif differ diff --git a/WebRoot/chartroom/arclist/115.gif b/WebRoot/chartroom/arclist/115.gif new file mode 100644 index 0000000..3e6cc9c Binary files /dev/null and b/WebRoot/chartroom/arclist/115.gif differ diff --git a/WebRoot/chartroom/arclist/116.gif b/WebRoot/chartroom/arclist/116.gif new file mode 100644 index 0000000..7bb281c Binary files /dev/null and b/WebRoot/chartroom/arclist/116.gif differ diff --git a/WebRoot/chartroom/arclist/117.gif b/WebRoot/chartroom/arclist/117.gif new file mode 100644 index 0000000..551fcf8 Binary files /dev/null and b/WebRoot/chartroom/arclist/117.gif differ diff --git a/WebRoot/chartroom/arclist/118.gif b/WebRoot/chartroom/arclist/118.gif new file mode 100644 index 0000000..802b249 Binary files /dev/null and b/WebRoot/chartroom/arclist/118.gif differ diff --git a/WebRoot/chartroom/arclist/76.gif b/WebRoot/chartroom/arclist/76.gif new file mode 100644 index 0000000..f57d3f0 Binary files /dev/null and b/WebRoot/chartroom/arclist/76.gif differ diff --git a/WebRoot/chartroom/arclist/77.gif b/WebRoot/chartroom/arclist/77.gif new file mode 100644 index 0000000..7daa1e4 Binary files /dev/null and b/WebRoot/chartroom/arclist/77.gif differ diff --git a/WebRoot/chartroom/arclist/78.gif b/WebRoot/chartroom/arclist/78.gif new file mode 100644 index 0000000..3f52e3c Binary files /dev/null and b/WebRoot/chartroom/arclist/78.gif differ diff --git a/WebRoot/chartroom/arclist/79.gif b/WebRoot/chartroom/arclist/79.gif new file mode 100644 index 0000000..b50865b Binary files /dev/null and b/WebRoot/chartroom/arclist/79.gif differ diff --git a/WebRoot/chartroom/arclist/80.gif b/WebRoot/chartroom/arclist/80.gif new file mode 100644 index 0000000..56427e2 Binary files /dev/null and b/WebRoot/chartroom/arclist/80.gif differ diff --git a/WebRoot/chartroom/arclist/81.gif b/WebRoot/chartroom/arclist/81.gif new file mode 100644 index 0000000..c4d0bf1 Binary files /dev/null and b/WebRoot/chartroom/arclist/81.gif differ diff --git a/WebRoot/chartroom/arclist/82.gif b/WebRoot/chartroom/arclist/82.gif new file mode 100644 index 0000000..44441d0 Binary files /dev/null and b/WebRoot/chartroom/arclist/82.gif differ diff --git a/WebRoot/chartroom/arclist/83.gif b/WebRoot/chartroom/arclist/83.gif new file mode 100644 index 0000000..74567e8 Binary files /dev/null and b/WebRoot/chartroom/arclist/83.gif differ diff --git a/WebRoot/chartroom/arclist/84.gif b/WebRoot/chartroom/arclist/84.gif new file mode 100644 index 0000000..18025fc Binary files /dev/null and b/WebRoot/chartroom/arclist/84.gif differ diff --git a/WebRoot/chartroom/arclist/85.gif b/WebRoot/chartroom/arclist/85.gif new file mode 100644 index 0000000..ed2dac2 Binary files /dev/null and b/WebRoot/chartroom/arclist/85.gif differ diff --git a/WebRoot/chartroom/arclist/86.gif b/WebRoot/chartroom/arclist/86.gif new file mode 100644 index 0000000..3cce229 Binary files /dev/null and b/WebRoot/chartroom/arclist/86.gif differ diff --git a/WebRoot/chartroom/arclist/87.gif b/WebRoot/chartroom/arclist/87.gif new file mode 100644 index 0000000..8fe5a4f Binary files /dev/null and b/WebRoot/chartroom/arclist/87.gif differ diff --git a/WebRoot/chartroom/arclist/88.gif b/WebRoot/chartroom/arclist/88.gif new file mode 100644 index 0000000..2fdbe7b Binary files /dev/null and b/WebRoot/chartroom/arclist/88.gif differ diff --git a/WebRoot/chartroom/arclist/89.gif b/WebRoot/chartroom/arclist/89.gif new file mode 100644 index 0000000..d021d90 Binary files /dev/null and b/WebRoot/chartroom/arclist/89.gif differ diff --git a/WebRoot/chartroom/arclist/90.gif b/WebRoot/chartroom/arclist/90.gif new file mode 100644 index 0000000..dbfabac Binary files /dev/null and b/WebRoot/chartroom/arclist/90.gif differ diff --git a/WebRoot/chartroom/arclist/91.gif b/WebRoot/chartroom/arclist/91.gif new file mode 100644 index 0000000..4185666 Binary files /dev/null and b/WebRoot/chartroom/arclist/91.gif differ diff --git a/WebRoot/chartroom/arclist/92.gif b/WebRoot/chartroom/arclist/92.gif new file mode 100644 index 0000000..7f06edd Binary files /dev/null and b/WebRoot/chartroom/arclist/92.gif differ diff --git a/WebRoot/chartroom/arclist/93.gif b/WebRoot/chartroom/arclist/93.gif new file mode 100644 index 0000000..2b1fd24 Binary files /dev/null and b/WebRoot/chartroom/arclist/93.gif differ diff --git a/WebRoot/chartroom/arclist/94.gif b/WebRoot/chartroom/arclist/94.gif new file mode 100644 index 0000000..d32c404 Binary files /dev/null and b/WebRoot/chartroom/arclist/94.gif differ diff --git a/WebRoot/chartroom/arclist/95.gif b/WebRoot/chartroom/arclist/95.gif new file mode 100644 index 0000000..745e64f Binary files /dev/null and b/WebRoot/chartroom/arclist/95.gif differ diff --git a/WebRoot/chartroom/arclist/96.gif b/WebRoot/chartroom/arclist/96.gif new file mode 100644 index 0000000..6862975 Binary files /dev/null and b/WebRoot/chartroom/arclist/96.gif differ diff --git a/WebRoot/chartroom/arclist/97.gif b/WebRoot/chartroom/arclist/97.gif new file mode 100644 index 0000000..8183c2c Binary files /dev/null and b/WebRoot/chartroom/arclist/97.gif differ diff --git a/WebRoot/chartroom/arclist/98.gif b/WebRoot/chartroom/arclist/98.gif new file mode 100644 index 0000000..a85a059 Binary files /dev/null and b/WebRoot/chartroom/arclist/98.gif differ diff --git a/WebRoot/chartroom/arclist/99.gif b/WebRoot/chartroom/arclist/99.gif new file mode 100644 index 0000000..cddfab8 Binary files /dev/null and b/WebRoot/chartroom/arclist/99.gif differ diff --git a/WebRoot/chartroom/arclist/jpg.bat b/WebRoot/chartroom/arclist/jpg.bat new file mode 100644 index 0000000..771d27e --- /dev/null +++ b/WebRoot/chartroom/arclist/jpg.bat @@ -0,0 +1 @@ +ren *.gif *.jpg \ No newline at end of file diff --git a/WebRoot/chartroom/arclist/新建文本文档.bat b/WebRoot/chartroom/arclist/新建文本文档.bat new file mode 100644 index 0000000..3cd3fd8 --- /dev/null +++ b/WebRoot/chartroom/arclist/新建文本文档.bat @@ -0,0 +1 @@ +ren *.jpg *.gif \ No newline at end of file diff --git a/WebRoot/chartroom/chartsql.jsp b/WebRoot/chartroom/chartsql.jsp new file mode 100644 index 0000000..1ae4514 --- /dev/null +++ b/WebRoot/chartroom/chartsql.jsp @@ -0,0 +1,69 @@ +<%@ page language="java" import="java.sql.*" + contentType="text/html;charset=utf-8"%> +<% + String path = request.getContextPath(); + String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + + path + "/"; +%> + + + + + + +检验插入页面 + + + + + + + + + + +
+ <% + boolean flag = false; + request.setCharacterEncoding("utf-8"); + String adminNo = request.getParameter("adminno"); + String name = request.getParameter("adminname"); + String adminsex = request.getParameter("sex"); + String adminjob = request.getParameter("job"); + %> + <% + String driver = "com.mysql.jdbc.Driver"; + String url = "jdbc:mysql://localhost:3306/db_school?useUnicode=true&characterEncoding=utf-8"; + String use = "root"; + String password = ""; + Class.forName(driver); + Connection conn = DriverManager.getConnection(url, use, password); + PreparedStatement sql = conn + .prepareStatement("insert into adminstrator_record(AdminNo,AdminName,Adminsex,Adminjob)values(?,?,?,?)"); + sql.setString(1, adminNo); + sql.setString(2, name); + sql.setString(3, adminsex); + sql.setString(4, adminjob); + int rtn = sql.executeUpdate(); + if (rtn != 0) { + flag = true; + } + sql.close(); + conn.close(); + %> + + <% + if (flag == true) { + %> + + <% + } else if (flag == false) { + %> + + <% + } + %> + + diff --git a/WebRoot/chartroom/content.jsp b/WebRoot/chartroom/content.jsp index a6ed1ae..ff9fe42 100644 --- a/WebRoot/chartroom/content.jsp +++ b/WebRoot/chartroom/content.jsp @@ -1,11 +1,12 @@ -<%@ page contentType="text/html; charset=gb2312" language="java" import="java.util.*" errorPage="" %> -<% request.setCharacterEncoding("gb2312"); %> +<%@ page contentType="text/html; charset=utf-8" language="java" import="java.util.*" errorPage="" %> + +<% request.setCharacterEncoding("utf-8"); %> <% if(session.getAttribute("actualuser").equals("null")){ - out.println(""); + out.println(""); } if(session.getAttribute("actualuser").equals("request.getParameter("+request.getParameter("tempuser")+")")){ - out.println(""); + out.println(""); } String message=request.getParameter("message"); String select=request.getParameter("select"); @@ -14,24 +15,24 @@ String color=request.getParameter("color"); if(message!=null&&tempuser!=null){ if(message.startsWith(""+ - ""+"벻Ҫбǵ"+""+""); + ""+"请不要输入带有标记的特殊符号"+""+""); return; }else if(message.endsWith("F1>")){ out.print(""+ - ""+"벻Ҫбǵ"+""+""); + ""+"请不要输入带有标记的特殊符号"+""+""); return; } - if(application.getAttribute("message")==null){ //һ˵ʱ - application.setAttribute("message","
"+""+ - ""+session.getAttribute("actualuser")+""+""+""+select+""+""+""+"["+tempuser+"]"+""+"˵"+""+message); + if(application.getAttribute("message")==null){ //第一个人说话时 + application.setAttribute("message","
"+""+ + ""+session.getAttribute("actualuser")+""+""+"对:"+""+"["+tempuser+"]"+""+"说:"+"
"+""+message+"
"); }else{ - application.setAttribute("message","
"+""+""+session.getAttribute("actualuser")+""+""+""+select+""+""+""+"["+tempuser+"]"+""+"˵"+""+message+""+application.getAttribute("message")); + application.setAttribute("message","
"+"
"+""+""+session.getAttribute("actualuser")+""+""+"对"+""+"["+tempuser+"]"+""+"说:"+"
"+""+message+"
"+""+application.getAttribute("message")+"
"); } out.println("

"+application.getAttribute("message")+"

"); }else{ if(application.getAttribute("message")==null){ - out.println(""+application.getAttribute("ul")+""+""+"߽"+""); - out.println("
"+"

"+""+"λעҵĹ,Ҫڱڷۼ˽Ҫˢ"+""+"
"); + out.println(""+application.getAttribute("ul")+""+""+"走进了网络聊天室"+""); + out.println("
"+"
"+""+"请各位聊友注意聊天室的规则,不要在本聊天室内发表反动言论及对他人进行人身攻击,不要随意刷屏。"+""+"
"); }else{ out.println(application.getAttribute("message")+"
"); } diff --git a/WebRoot/chartroom/images/backgroud.jpg b/WebRoot/chartroom/images/backgroud.jpg new file mode 100644 index 0000000..547c550 Binary files /dev/null and b/WebRoot/chartroom/images/backgroud.jpg differ diff --git a/WebRoot/chartroom/images/content.jpg b/WebRoot/chartroom/images/content.jpg new file mode 100644 index 0000000..1360fef Binary files /dev/null and b/WebRoot/chartroom/images/content.jpg differ diff --git a/WebRoot/chartroom/images/top.jpg b/WebRoot/chartroom/images/top.jpg index fed45e1..a49cf80 100644 Binary files a/WebRoot/chartroom/images/top.jpg and b/WebRoot/chartroom/images/top.jpg differ diff --git a/WebRoot/chartroom/images/top.psd b/WebRoot/chartroom/images/top.psd new file mode 100644 index 0000000..bb91c06 Binary files /dev/null and b/WebRoot/chartroom/images/top.psd differ diff --git a/WebRoot/chartroom/images/top2.jpg b/WebRoot/chartroom/images/top2.jpg new file mode 100644 index 0000000..fed45e1 Binary files /dev/null and b/WebRoot/chartroom/images/top2.jpg differ diff --git a/WebRoot/chartroom/index.jsp b/WebRoot/chartroom/index.jsp index ce4a391..c9861db 100644 --- a/WebRoot/chartroom/index.jsp +++ b/WebRoot/chartroom/index.jsp @@ -1,14 +1,14 @@ -<%@ page contentType="text/html;charset=gb2312" language="java" %> +<%@ page contentType="text/html;charset=utf-8" language="java" %> - + 聊天室 @@ -22,7 +22,7 @@ function check(){   - û + 用户名: diff --git a/WebRoot/chartroom/leave.jsp b/WebRoot/chartroom/leave.jsp index ff40d0e..0c19d5d 100644 --- a/WebRoot/chartroom/leave.jsp +++ b/WebRoot/chartroom/leave.jsp @@ -1,5 +1,5 @@ -<%@ page contentType="text/html; charset=gb2312" language="java"%> -<% request.setCharacterEncoding("gb2312"); %> +<%@ page contentType="text/html; charset=utf-8" language="java"%> +<% request.setCharacterEncoding("utf-8"); %> <%@ page import="java.util.Vector"%> <%@ page import="com.wgh.UserForm"%> <% diff --git a/WebRoot/chartroom/login.jsp b/WebRoot/chartroom/login.jsp index 70c17fe..7c5c564 100644 --- a/WebRoot/chartroom/login.jsp +++ b/WebRoot/chartroom/login.jsp @@ -1,8 +1,8 @@ -<%@ page contentType="text/html;charset=gb2312" language="java"%> +<%@ page contentType="text/html;charset=utf-8" language="java"%> <%@ page import="java.util.Vector"%> <%@ page import="com.wgh.UserForm"%> <% - request.setCharacterEncoding("gb2312"); + request.setCharacterEncoding("utf-8"); Object username = session.getAttribute("actualuser"); boolean flag = true; Vector temp = (Vector) application.getAttribute("myuser"); @@ -11,7 +11,7 @@ } UserForm mylist = new UserForm(); mylist.username = (String) username; - //浱ǰ¼û + //保存当前登录的用户名 Vector myuser = (Vector) application.getAttribute("myuser"); if (myuser == null) { diff --git a/WebRoot/chartroom/main.jsp b/WebRoot/chartroom/main.jsp index c73856d..8eeeb0b 100644 --- a/WebRoot/chartroom/main.jsp +++ b/WebRoot/chartroom/main.jsp @@ -1,12 +1,12 @@ -<%@ page contentType="text/html; charset=gb2312" language="java" +<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*"%> <% - request.setCharacterEncoding("gb2312"); + request.setCharacterEncoding("utf-8"); %> - +聊天室 @@ -14,7 +14,7 @@ - - +
-
+
+
VANTEN
+
-
Աб
-
+
聊天内容
+
在线人员列表
+
-
- - -

- -

- +
- [<%=session.getAttribute("actualuser")%> - ] ˵ - ɫ +
[<%=session.getAttribute("actualuser")%>]
+ + + +
+ + + + + + + + + +

+
+ +
+
- +
+ @@ -157,7 +194,7 @@ $(function(){ assign:'message', - path:'arclist/' //ŵ· + path:'arclist/' //表情存放的路径 }); @@ -171,7 +208,7 @@ $(function(){ }); -//鿴 +//查看结果 function replace_em(str){ diff --git a/WebRoot/chartroom/online.jsp b/WebRoot/chartroom/online.jsp index 40ec8b2..18f70f6 100644 --- a/WebRoot/chartroom/online.jsp +++ b/WebRoot/chartroom/online.jsp @@ -1,8 +1,8 @@ -<%@ page contentType="text/html; charset=gb2312" language="java" +<%@ page contentType="text/html; charset=utf-8" language="java" import="java.util.*"%> <%@ page import="com.wgh.UserForm"%> <% - request.setCharacterEncoding("gb2312"); + request.setCharacterEncoding("utf-8"); %> <% Vector myuser = (Vector) application.getAttribute("myuser"); @@ -10,24 +10,24 @@ - + - + <% for (int i = 0; i < myuser.size(); i++) { UserForm mylist = (UserForm) myuser.elementAt(i); %> - + <% } %> -
ӭVANTENң欢迎来到VANTEN聊天室!
所有人
<%=mylist.username%><%=mylist.username%>
ǰ[<%=myuser.size()%>] + 当前在线[<%=myuser.size()%>]人
\ No newline at end of file diff --git a/WebRoot/chartroom/send.jsp b/WebRoot/chartroom/send.jsp index 0403f95..ecffa0c 100644 --- a/WebRoot/chartroom/send.jsp +++ b/WebRoot/chartroom/send.jsp @@ -1,3 +1,3 @@ -<%@ page contentType="text/html; charset=gb2312" language="java"%> +<%@ page contentType="text/html; charset=utf-8" language="java"%> <%@ include file="content.jsp"%> <%response.sendRedirect("main.jsp");%> \ No newline at end of file diff --git a/WebRoot/css/chart_style.css b/WebRoot/css/chart_style.css index b0c7cdf..c29639d 100644 --- a/WebRoot/css/chart_style.css +++ b/WebRoot/css/chart_style.css @@ -1,9 +1,11 @@ body { - - + background: url(../chartroom/images/top.jpg); + height: 100%; + width: 100%; } + td { font-size: 9pt; line-height:144%; } @@ -22,11 +24,9 @@ a { } .btn_orange { font-size: 9pt;color: #FFFFFF; - background-color: #FF6600;cursor: hand;padding:1px;height:19px; - border-top: 1px solid #FF6600;border-right:1px solid #666666; - border-bottom: 1px solid #666666;border-left: 1px solid #FF6600; float:right; - magin-top:15px; + margin-top: -17px; + margin-right: 2px; } .btn_blank { font-family: "����"; font-size: 9pt;color: #FFFFFF; @@ -71,37 +71,82 @@ input { } .chatTop{ max-width:100%; - height:148; - background-image: url(../chartroom/images/top.jpg); - - + margin-top:25px; + padding-top:25px; + height:130px; + background-color:#317cb5; + } -.message{max-width:200px;} + +.chatTopspan{ + color: #fff; + font-size: 60px; +} + .chatsent{ - padding:15px 0px 5px 50px; - background-color:#adadad; + padding:25px 0px 5px 0px; + background-color:#317cb5; +} +.chatsent2{ + display:inline; + max-width: 50px; +} +.chatsenttable{ + display:inline; + max-width: 50px; + margin-bottom: 500px; } .chatsentinput{ - padding:0px 0px 10px 70px; + padding:0px 0px 10px 0px; +} +.chat1{ + padding-left:100px; + padding-right:100px; + background-color:#317cb5; } .chat{ padding-top:20px; + padding-left:50px; background-color:#f5f5f5; - overflow:scroll; - height:500px; -} -.list{ - padding:5px; - background-color:#eae8e7; overflow-y:auto; overflow-x:auto; - width:400px; height:500px; + max-width:100%; + border-radius:10px 10px 10px 10px; +} +.list{ + position:fixed; + margin-left:1170px; + top:180px; + padding:5px; + background-color:#3d87c6; + overflow-y:auto; + overflow-x:auto; + width:120px; + height:400px; + border-radius:0px 10px 10px 0px; } .send{ margin-left:20px; } - +.tempuser{ + display:none; +} +.message{ + width:400px; + height:100px; + border-radius:10px 10px 10px 10px; +} +.mes{ + background-color:#fff; + padding:5px 10px 5px 10px; + display: inline; + width:400px; + border-radius:10px 10px 10px 10px; +} +.me{ + margin-top:2px; +} \ No newline at end of file diff --git a/WebRoot/css/emoji.css b/WebRoot/css/emoji.css index 953e565..71e5497 100644 --- a/WebRoot/css/emoji.css +++ b/WebRoot/css/emoji.css @@ -6,11 +6,18 @@ .com_form p { height: 28px; line-height: 28px; position: relative; margin-top: 10px; } span.emotion { width: 42px; height: 20px; padding-left: 20px; cursor: pointer; } span.emotion:hover { background-position: 2px -28px } -.qqFace { margin-top: 4px; background: #fff; padding: 2px; border: 1px #dfe6f6 solid; } +.qqFace { margin-top: -320px; + background: #fff; + padding-top: 15px; + padding-left:25px; + border: 1px #dfe6f6 solid; + overflow-y:auto; + overflow-x:auto; + width:460px; + height:280px; } .qqFace table td { padding: 0px; } .qqFace table td img { cursor: pointer; border: 1px #fff solid; } .qqFace table td img:hover { border: 1px #0066cc solid; } -#show { width: 770px; margin: 20px auto; background: #fff; padding: 5px; border: 1px solid #DDD; vertical-align: top; } .sub_btn { position: absolute; right: 0px; top: 0; display: inline-block; zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */ *display: inline; vertical-align: baseline; margin: 0 2px; outline: none; cursor: pointer; text-align: center; font: 14px/100% Arial, Helvetica, sans-serif; padding: .5em 2em .55em; text-shadow: 0 1px 1px rgba(0,0,0,.6); -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2); box-shadow: 0 1px 2px rgba(0,0,0,.2); color: #e8f0de; border: solid 1px #538312; background: #64991e; background: -webkit-gradient(linear, left top, left bottom, from(#7db72f), to(#4e7d0e)); background: -moz-linear-gradient(top, #7db72f, #4e7d0e); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7db72f', endColorstr='#4e7d0e'); } diff --git a/WebRoot/js/jquery.qqFace.js b/WebRoot/js/jquery.qqFace.js index e6953da..d208c6e 100644 --- a/WebRoot/js/jquery.qqFace.js +++ b/WebRoot/js/jquery.qqFace.js @@ -28,6 +28,20 @@ strFace += ''; if( i % 15 == 0 ) strFace += ''; } + strFace += ''; + strFace +=''; + for(var i=76; i<=87; i++){ + labFace =""; + strFace += ''; + if( (i-75) % 6 == 0 ) strFace += ''; + } + strFace += '
'; + strFace +=''; + for(var i=88; i<=118; i++){ + labFace =""; + strFace += ''; + if( i % 3 == 0 ) strFace += ''; + } strFace += '
'; } $(this).parent().append(strFace); diff --git a/WebRoot/module/sidebar.jsp b/WebRoot/module/sidebar.jsp index e19600f..14611a2 100644 --- a/WebRoot/module/sidebar.jsp +++ b/WebRoot/module/sidebar.jsp @@ -7,10 +7,22 @@ test - - - + + + + +