富贵资源网 Design By www.hznty.com

注册时选择阅读条款

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html> 
  <head> 
    <title>demo2.html</title> 
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> 
    <meta http-equiv="description" content="this is my page"> 
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">--> 
<script type="text/javascript" src="/UploadFiles/2021-04-02/jquery-1.9.1.js"><script type="text/javascript"> 
    $(document).ready(function(){ 
        var $submitBtn=$("#submitBtn");//获取按钮对象 
        //为按钮注册点击事件 
        $submitBtn.click(function(){ 
            //alert("我被点击了!"); 
        }); 
        //第二种  绑定事件 第一个参数是绑定事件的类型,第二个参数是触发的函数 
        $(submitBtn).bind("click",function(){ 
            var $check=$("#agree");//获取checkbook的元素对象 
            //把jQuery转换成Dom对象 
            /*var checkDom=$check[0]; 
            if(checkDom.checked){ 
                alert("同意注册!"); 
            }else{ 
                alert("请选择同意条款!"); 
            }*/ 
            if($check.is(":checked")){ 
                alert("同意注册!");  
            }else{ 
                alert("请选择同意条款!"); 
            } 
        }); 
    }); 
</script> 

  </head> 
  <body> 
    注册条款:<input type="checkbox" id="agree"/>我已仔细阅读并接受csdn注册条款。 
    <input type="submit" value="注册" id="submitBtn"/> 
  </body> 
</html>


左右移动  ------------------------------------------------------------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html> 
  <head> 
    <title>demo03.html</title> 
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> 
    <meta http-equiv="description" content="this is my page"> 
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">--> 
<script type="text/javascript" src="/UploadFiles/2021-04-02/jquery-1.9.1.js"><script type="text/javascript"> 
     $(document).ready(function(){ 
            var $romve=$("#romve"); 
            var $romves=$("#romves"); 
            $romve.click(function(){ 
                var $opts=$("#ropt>option:selected"); 
                $opts.appendTo("#lopt"); 
            }); 
            $romves.bind("click",function(){ 
                var $opts=$("#ropt>option"); 
                alert($opts.length); 
                $opts.appendTo("#lopt"); 
            }); 
            //双击 
            $("#ropt").bind("dblclick",function(){ 
                var $pots=$("#ropt>option:checked"); 
                $pots.appendTo("#lopt"); 
            }); 
         }); 
     $(document).ready(function(){ 
            var $lromve=$("#lromve"); 
            var $lromves=$("#lromves"); 
            //注册click事件 
            $lromve.click(function(){ 
                var $opts=$("#lopt>option:selected"); 
                $opts.appendTo("#ropt"); 
            }); 
            //绑定事件 
             $lromves.bind("click",function(){ 
                var $opts=$("#lopt>option");//获取所有的option 
                //alert($opts.length); 
                $opts.appendTo("#ropt"); 
                //$("#ropt").append($opts); 
             }); 
            //双击 
            $("#lopt").bind("dblclick",function(){ 
                var $opts=$("#lopt>option:checked");//获取所有的option 
                $opts.appendTo("#ropt"); 
            }); 
        }); 
</script> 
  </head> 
  <body> 
       <h1 align="center">左右漂移</h1> 
       <div style="position: absolute; left: 450px; top: 120px"> 
          <div style="float:left; width: 200px; height: 300px; background-color:lightsteelblue; text-align: center;"><br><br> 
                      <select id="lopt" multiple="multiple" size="9" style="width: 80px;"> 
                                          <option>aa</option> 
                                          <option>bb</option> 
                                          <option>cc</option> 
                                          <option>dd</option> 
                                          <option>ee</option> 
                                          <option>ff</option> 
                                          <option>gg</option> 
                                          <option>hh</option> 
                                          <option>pp</option>               
                      </select> 
                       <br/><br/> 
                      <input type="button" id="lromve" value="选中的右移" style="width: 80px;"/><br/><br/> 
                      <input type="button" id="lromves" value="全部右移" style="width: 80px;"/> 
          </div> 
          <div style ="width: 200px; height: 300px; background-color: #bbffaa; text-align: center;"><br><br> 
                      <select id="ropt" multiple="multiple" size="9" style="width: 80px;"> 
                                          <option>选项1</option> 
                                          <option>选项2</option> 
                                          <option>选项3</option> 
                                          <option>选项4</option> 
                                          <option>选项5</option> 
                                          <option>选项6</option> 
                                          <option>选项7</option> 
                                          <option>选项8</option> 
                                          <option>选项9</option>          
                      </select> 
                       <br/><br/> 
                      <input type="button" id="romve" value="选中的左移" style="width: 80px;"/><br/><br/> 
                      <input type="button" id="romves" value="全部左移" style="width: 80px;"/> 
          </div> 
       </div> 
  </body> 
</html> 

富贵资源网 Design By www.hznty.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
富贵资源网 Design By www.hznty.com

RTX 5090要首发 性能要翻倍!三星展示GDDR7显存

三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。

首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。

据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。