免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1071 | 回复: 0
打印 上一主题 下一主题

javascript的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-10 14:40 |只看该作者 |倒序浏览

    酒店管理系统
   
    body {
        text-align:center;
        background-image:url(images/bg3.jpg);
        background-repeat:repeat-x;
        margin:0;
        padding:0;
    }
    #Nav {
        width:760px;
        border-left:1px solid #E1E1E1;
        border-right:1px solid #E1E1E1;
        margin:0;
        padding:0;
    }
    #bar {
        background-image:url(images/main-pic2.jpg);
        background-repeat:no-repeat;
        width:760px;
        height:300px
    }
    #login {
        padding:0;
        margin:0;
        width:300px;
        height:150px;
        position:relative;
        background-color:#F1F1F1;
    }
    #login h4 {
        
    }
     .btn1 {
       width:86px;
       height:33px;
       border:0;
       background:url(images/btn.jpg);
       background-position:-102px -4px;
       background-repeat:no-repeat;
      }
     .btn2 {
       width:86px;
       height:33px;
       border:0;
       background:url(images/btn.jpg);
       background-position:-3px -4px;
       background-repeat:no-repeat;
    }
      
   
   
    function fEvent(sType,oInput){
  switch (sType){
   case "focus" :
    oInput.isfocus = true;
    oInput.style.backgroundColor="#FFFFD8";
   case "mouseover" :
    oInput.style.borderColor = "#99E300";
    break;
   case "blur" :
    oInput.isfocus = false;
    oInput.style.backgroundColor="";
   case "mouseout" :
    if(!oInput.isfocus){
     oInput.style.borderColor="#A1BCA3";
    }
    break;
  }
   
   
   
   
   
    登陆酒店管理系统
    用户名:
    密    码:
   
   
   
   

不能实现鼠标事件

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/83937/showart_1404238.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP