This commit is contained in:
lh_wang
2015-08-11 00:45:35 +08:00
parent 32a3201865
commit 97040de36e
+11 -2
View File
@@ -31,7 +31,14 @@
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="retinahd_icon.png">
<link type="text/css" rel="stylesheet" href="css/main.css" />
<link type="text/css" rel="stylesheet" href="css/font-awesome.css" />
<style>
#paodan{
z-index:19999;position: absolute; width: 100%;right:70px;
left:100px;top:50%;height:40px;display:;background-color:#fff;
margin-top:-20px;
}
</style>
<script src='http://123.57.39.116:9797/javascripts/socket.io.js'></script>
<script type="text/javascript">
var socket = io('http://123.57.39.116:9797');
@@ -59,7 +66,9 @@
if(!$paodan){
var _div = document.createElement("div");
_div.setAttribute("id","paodan");
_div.stylesheet = "z-index:19999;position: absolute; width: 100%; left: 0px;top:0px;height:40px;display:;background-color:#fff;";
// _div.style.zIndex = 19999;
// _div.style.po
// _div.stylesheet = "";
_div.innerHTML = paodan;
document.body.appendChild(_div);
}