日期:2014-05-17  浏览次数:20390 次

请问一下学校弹框有什么好的控件?
     需要做一个选择学校的控件,效果和人人网一样。不知道有没有好的的控件可以实现这个效果。
JS?????弹框控件

------解决方案--------------------
引用:
     需要做一个选择学校的控件,效果和人人网一样。不知道有没有好的的控件可以实现这个效果。

自己手动去写一个 模拟弹窗的js
------解决方案--------------------
lingerui  ,easyui ,extjs,ldialog..........
------解决方案--------------------
<html>
<head>
<script>
//打开用js弹出难忘的事
function regist(){
   var msgw,msgh,bordercolor; 
   msgw=550;//Width
   msgh=400;//Height 
   titleheight=25 //title Height;
   bordercolor="#336699";//boder color
   titlecolor="#99CCFF";//title color
   var sWidth,sHeight; 
   sWidth=document.body.offsetWidth; 
   sHeight=screen.height; 
   var bgObj=document.createElement("div"); 
   bgObj.setAttribute('id','bgDiv'); 
   bgObj.style.position="absolute"; 
   bgObj.style.top="0"; 
   bgObj.style.background="#777"; 
   bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75"; 
   bgObj.style.opacity="0.6"; 
   bgObj.style.left="0"; 
   bgObj.style.width=sWidth + "px"; 
   bgObj.style.height=sHeight + "px"; 
   bgObj.style.zIndex = "10000"; 
   document.body.appendChild(bgObj); 
   document.body.style.overflow="hidden";
   var msgObj=document.createElement("div"); 
   msgObj.setAttribute("id","msgDiv"); 
   msgObj.setAttribute("align","center"); 
   msgObj.style.background="white"; 
   msgObj.style.border="1px solid " + bordercolor; 
   msgObj.style.position = "absolute"; 
   msgObj.style.left = "50%";