function createInputDialog(obj,id,value){ var div=document.getElementById("editBehaviorDiv"); if(div!=null) document.body.removeChild(div); div = document.createElement("div"); div.id="editBehaviorDiv"; div.style.position='absolute'; var op=getoffset(obj); div.style.top= "100px"; div.style.left= (document.body.clientWidth - 374)/2.0 + "px"; div.style.zIndex =100; div.style.backgroundColor='#ecf1f6'; div.style.border="1px solid #666"; //div.className="td1"; div.innerHTML=" "+value+ " "+ " "; document.body.appendChild(div); document.all.behaviorValue.focus(); } function saveBehaviorname(obj,id){ var behaviorValue = document.all.behaviorValue.value; var idsArray = new Array(); //定义一数组 idsArray = behaviorValue.split("\n"); //字符分割 var idsString = ""; for (i = 0; i
效果如图:
查看更多关于html浮动窗口_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did107335