善知堂android学习笔记

java(学习笔记第21~23天)

一、
 1、heml  css  js  jsp/servlet  struts/hibernalt

 2、http-equiv="refresh"  content="3;...";3秒钟后跳     到...网站去
二、css
 1、get受地址栏长度限制
 2、post安全性
 3、伪类 .test1{}  使用 class="text1"
 4、#test2         使用 in="text2"
 5、div,h2{}同时使用一种样式
 6、 span h3{} 当使用span嵌套h3时,使用该样式
 7、<div><span> 常用

 

三、(?i)不区分大小写

 

遍历三层超链接、计算器

js:
  var v=document.getElementById("a");
 
pasition:absolute 绝对定位

filter: 滤镜

四、Javascript
   function pop(){
     var v="123";
      alert(v);
   }
   document.write();//直接输出
   var t=new Array(2);
    //for循环
   for ( m in t){}
   for(i=0;i<10;i++){}
   //对象
   Global:全局对象
   eval();
   escape()//编码 
   unescape()//反编码
  
   with object{//省去object的类名
   }
五、 DHTML基本对象 
    1、基本对象
       window.document.write("abc");
       window.alert("abc");
       属性:
        dafaultStatus、status、
        innerHTML
//表单提交验证
        onsubmit="return check()"
//element表示表单中的所有控件
//all表示表单中的所有标签
        if(document.fromes[0].element[0].value==""){
           return false
        }
//表单提交地址,提交方法
 a.action="go.html";
 a.submit();
      
//定时执行
  setTimeout("fade()",100);过100毫秒执行一次
  document.chile.filters.alpha.opacity=b;
//setInterval("fade()",100);每多100毫秒执行一次
  window.history.back();
  history.go(1);history.go(-1);
//把我打开的窗口
window.opener.

http://itszt.losoon.com/plus/view.php?aid=288

posted on 2012-04-24 20:48  筱石头丶莜  阅读(163)  评论(0)    收藏  举报

导航

善知堂网址http://itszt.losoon.com