代码拉取完成,页面将自动刷新
var Text;
(function(){
Text = function(){
}
Text.prototype.init=function()
{
Text.prototype.createDIvText();
}
Text.prototype.createDIvText=function()
{
var text = document.createElement("div")
text.setAttribute("style","height:60px;line-height:60px;background:#333;position:absolute;width:100%;font-size:14px;color:white;text-align:center;z-index:999;-moz-opacity:0.8; -webkit-opacity:0.8; opacity:0.8; filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);")
Text.prototype.createInputText(text,"击中",JZ)
Text.prototype.createInputText(text,"得分",DF)
Text.prototype.createInputText(text,"丢失",DS)
Text.prototype.createInputText(text,"计时",JS)
OBODY.appendChild(text);
}
Text.prototype.createInputText=function(div,str,id)
{
var textInput = document.createElement("input")
var textSpan = document.createElement("span")
textInput.setAttribute("id",id)
textInput.setAttribute("value","")
textInput.setAttribute("style","border:1px solid #ccc;background:white;margin-rig ht:10px;width:100px;height:30px;line-height:30px;margin-top:15px;padding-left:4px;color:#666")
textSpan.innerHTML=str;
textSpan.setAttribute("style","margin-right:4px;")
div.appendChild(textSpan);
div.appendChild(textInput);
}
})();
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。