层路径

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>

</body>
<style type="text/css">
<!--
#Layer1 {
 position:absolute;
 left:449px;
 top:106px;
 width:560px;
 height:321px;
 z-index:1;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_popupMsg(msg) { //v1.0
  alert(msg);
}

function MM_timelinePlay(tmLnName, myID) { //v1.2
  //Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Macromedia, Inc. All rights reserved.
  var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  tmLn = document.MM_Time[tmLnName];
  if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  if (myID == tmLn.ID) { //if Im newest
    setTimeout(‘MM_timelinePlay("‘+tmLnName+‘",‘+myID+‘)‘,tmLn.delay);
    fNew = ++tmLn.curFrame;
    for (i=0; i<tmLn.length; i++) {
      sprite = tmLn[i];
      if (sprite.charAt(0) == ‘s‘) {
        if (sprite.obj) {
          numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
          if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
            keyFrm=1;
            for (j=0; j<sprite.values.length; j++) {
              props = sprite.values[j];
              if (numKeyFr != props.length) {
                if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
                else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
              } else {
                while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
                if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
                  if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
                  else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
        } } } } }
      } else if (sprite.charAt(0)==‘b‘ && fNew == sprite.frame) eval(sprite.value);
      if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  } }
}

function MM_initTimelines() { //v4.0
    //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
    var ns = navigator.appName == "Netscape";
    var ns4 = (ns && parseInt(navigator.appVersion) == 4);
    var ns5 = (ns && parseInt(navigator.appVersion) > 4);
    var macIE5 = (navigator.platform ? (navigator.platform == "MacPPC") : false) && (navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4);
    document.MM_Time = new Array(1);
    document.MM_Time[0] = new Array(3);
    document.MM_Time["Timeline1"] = document.MM_Time[0];
    document.MM_Time[0].MM_Name = "Timeline1";
    document.MM_Time[0].fps = 15;
    document.MM_Time[0][0] = new String("sprite");
    document.MM_Time[0][0].slot = 1;
    if (ns4)
        document.MM_Time[0][0].obj = document["Layer1"];
    else if (ns5)
        document.MM_Time[0][0].obj = document.getElementById("Layer1");
    else
        document.MM_Time[0][0].obj = document.all ? document.all["Layer1"] : null;
    document.MM_Time[0][0].keyFrames = new Array(1, 13, 18, 19, 28, 40, 41, 42, 48, 56, 58, 59, 60, 61, 65, 80);
    document.MM_Time[0][0].values = new Array(2);
    if (ns5 || macIE5)
        document.MM_Time[0][0].values[0] = new Array("95px", "100px", "106px", "111px", "116px", "121px", "126px", "132px", "136px", "141px", "145px", "149px", "153px", "160px", "166px", "170px", "174px", "178px", "184px", "188px", "192px", "197px", "202px", "207px", "212px", "218px", "224px", "229px", "233px", "238px", "242px", "246px", "250px", "255px", "258px", "262px", "265px", "268px", "271px", "274px", "275px", "278px", "280px", "283px", "286px", "290px", "294px", "298px", "302px", "306px", "310px", "315px", "319px", "323px", "326px", "329px", "333px", "335px", "336px", "337px", "337px", "344px", "353px", "363px", "376px", "380px", "384px", "389px", "393px", "398px", "402px", "407px", "413px", "418px", "423px", "428px", "433px", "439px", "444px", "449px");
    else
        document.MM_Time[0][0].values[0] = new Array(95,100,106,111,116,121,126,132,136,141,145,149,153,160,166,170,174,178,184,188,192,197,202,207,212,218,224,229,233,238,242,246,250,255,258,262,265,268,271,274,275,278,280,283,286,290,294,298,302,306,310,315,319,323,326,329,333,335,336,337,337,344,353,363,376,380,384,389,393,398,402,407,413,418,423,428,433,439,444,449);
    document.MM_Time[0][0].values[0].prop = "left";
    if (ns5 || macIE5)
        document.MM_Time[0][0].values[1] = new Array("110px", "117px", "123px", "130px", "136px", "143px", "150px", "156px", "162px", "168px", "173px", "178px", "183px", "192px", "199px", "204px", "209px", "214px", "224px", "221px", "217px", "213px", "209px", "204px", "198px", "192px", "185px", "178px", "172px", "165px", "157px", "150px", "142px", "134px", "127px", "120px", "114px", "108px", "103px", "98px", "102px", "111px", "117px", "124px", "132px", "141px", "151px", "161px", "169px", "177px", "185px", "194px", "201px", "208px", "215px", "220px", "228px", "233px", "236px", "237px", "238px", "233px", "227px", "219px", "205px", "200px", "195px", "189px", "183px", "177px", "171px", "164px", "157px", "150px", "142px", "135px", "128px", "120px", "113px", "106px");
    else
        document.MM_Time[0][0].values[1] = new Array(110,117,123,130,136,143,150,156,162,168,173,178,183,192,199,204,209,214,224,221,217,213,209,204,198,192,185,178,172,165,157,150,142,134,127,120,114,108,103,98,102,111,117,124,132,141,151,161,169,177,185,194,201,208,215,220,228,233,236,237,238,233,227,219,205,200,195,189,183,177,171,164,157,150,142,135,128,120,113,106);
    document.MM_Time[0][0].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[0][0].values[0].prop2 = "style";
        document.MM_Time[0][0].values[1].prop2 = "style";
    }
    document.MM_Time[0][1] = new String("behavior");
    document.MM_Time[0][1].frame = 80;
    document.MM_Time[0][1].value = "MM_popupMsg(‘来打我啊!‘)";
    document.MM_Time[0][2] = new String("behavior");
    document.MM_Time[0][2].frame = 81;
    document.MM_Time[0][2].value = "MM_timelineGoto(‘Timeline1‘,‘1‘)";
    document.MM_Time[0].lastFrame = 81;
    for (i=0; i<document.MM_Time.length; i++) {
        document.MM_Time[i].ID = null;
        document.MM_Time[i].curFrame = 0;
        document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
    }
}

function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
  //Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Macromedia, Inc. All rights reserved.
  var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
  if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  tmLn = document.MM_Time[tmLnName];
  if (numGotos != null)
    if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
    else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
  jmpFwd = (fNew > tmLn.curFrame);
  for (i = 0; i < tmLn.length; i++) {
    sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
    if (sprite.charAt(0) == "s") {
      numKeyFr = sprite.keyFrames.length;
      firstKeyFr = sprite.keyFrames[0];
      lastKeyFr = sprite.keyFrames[numKeyFr - 1];
      if ((jmpFwd && fNew<firstKeyFr) || (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
      for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
      for (j=0; j<sprite.values.length; j++) {
        props = sprite.values[j];
        if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
        else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
        if (sprite.obj != null) {
          if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
          else        sprite.obj[props.prop2][props.prop] = props[propNum];
      } }
    } else if (sprite.charAt(0)==‘b‘ && fNew == sprite.frame) eval(sprite.value);
  }
  tmLn.curFrame = fNew;
  if (tmLn.ID == 0) eval(‘MM_timelinePlay(tmLnName)‘);
}
//-->
</script>
<body ><div id="Layer1" style="left: 449px; top: 106px;"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(‘Image1‘,‘‘,‘e0ac7c5agw1egg386mpo1j20nm0lt76t[1].jpg‘,1)"><img src="e0ac7c5agw1ejuqf798ugj20rs0go78b[1].jpg" name="Image1" width="464" height="262" border="0" id="Image1" /></a></div>
</html>

时间: 2024-07-28 18:33:35

层路径的相关文章

bzoj 3784: 树上的路径 堆维护第k大

3784: 树上的路径 Time Limit: 10 Sec  Memory Limit: 256 MBSubmit: 88  Solved: 27[Submit][Status][Discuss] Description 给定一个N个结点的树,结点用正整数1..N编号.每条边有一个正整数权值.用d(a,b)表示从结点a到结点b路边上经过边的权值.其中要求a<b.将这n*(n-1)/2个距离从大到小排序,输出前M个距离值. Input 第一行两个正整数N,M 下面N-1行,每行三个正整数a,b,

log4net日记文件路径动态配置

在项目开发过程中,部署的服务器越来越多,查看日记的时候需要每台服务器去找日记看,这对运维人员来说是一个很不友好的方式.在此基础上就提出将所有日记统一到一台服务器上进行存放,并按照产生日记的服务器分文件夹.这时候想使用log4net就需要配置很多配置项,明显不是我们想要的.现在只能去修改log4net的源代码去满足这一要求.经过修改后的源代码在配置日记文件路径和调用创建日记对象的传入参数上做些修改就可以动态配置路径.因为没必要做太多层次的动态配置,这里只实现了2层路径的动态配置. 1.配置文档 <

JAVA用流在指定路径下生成文件

// 待处理的流 ByteArrayOutputStream bao = new ByteArrayOutputStream(); // 定义文件根路径:TOMCAT的temp路径 + 时间戳 String baseDir = System.getProperty("java.io.tmpdir")  + System.currentTimeMillis(); //待输出文件流对象 FileOutputStream fos = null; try { // 自定义文件路径 String

请求路径springmvc中支持ant风格

(1)? 任意一个字符斜杠除外 例如: @RequestMapping(path={"/test?"}) public String test1(){ return "test"; } 此时,请求路径test后面的问号可以替代任何一个字符斜杠除外,比如:/testa就可以请求成功. (2)*  0到n任意个字符斜杠除外 例如: @RequestMapping(path={"/test*"}) public String test2(){ retu

IO细述

Java IO1:IO和File IO 大多数的应用程序都要与外部设备进行数据交换,最常见的外部设备包含磁盘和网络.IO就是指应用程序对这些设备的数据输入与输出,Java语言定义了许多类专门负责各种方式的输入.输出,这些类都被放在java.io包中. File类 File类是IO包中唯一代表磁盘文件本身的对象,File类定义了一些与平台无关的方法来操作文件.通过调用File类提供的各种方法,能够完成创建.删除文件.重命名文件.判断文件的读写权限权限是否存在.设置和查询文件的最近修改时间等操作.

超链接

超链接的基本格式 超链接的种类 相对链接和绝对链接 书签的链接 基准参考点 超链接事件 为链接创建键盘快捷键 为链接设置制表符次序 超链接也叫URL中文翻译为资源定址器.这个定址器的功能主要告诉浏览器根据URL的地址找到所需的资源. 6.1 超链接的基本格式 格式: scheme://host[:post]/path/filename scheme指的是http,ftp,file,mailto,news,gopher,telnet七种 host指的是IP地址或计算机名称 post指的是服务器端口

linux学习之yum命令的使用

1. yum的优点:在安装.更新或者删除软件,yum可以自动解决软件之间的依赖问题:yum源可以通过http,ftp.file方式获取 2. 设置yum yum配置文件为/etc/yum.conf,下载源文件位于 /etc/yum.repos.d/目录中,.repo为扩展名 我的源文件名为server.repo server1为源文件的id name定义yum源的完整名称 baseurl定义yum源的URL地址,可以有http,ftp,file多种形式 enabled 是否启用yum源,1是启用

MSB-STRUTS-课堂笔记

A:为什么用strutsQ:1.建立在MVC模式上,MVC都有涉及,但它主要是提供一个好的控制器和一套定制的标签库上,也就是说它的着力点在C和V上,有MVC一系列有点,如:结构层次分明,高可冲永兴,增加了程序的健壮性和可伸缩性,便于开发与设计分工,提供集中校验国际化.日志等等:2.开源项目,得到了程序大师和高手持续而细心的呵护,并且经受了实战的检验,使其功能越来越强大,体系也日臻完善:3.其他技术和框架具有良好的融合性.如与spring.hibernate等框架的整合4.大大提高了开发速度. A

Linux 学习笔记 2016.03.11

第一个简单命令: ls,就是查看当前工作路径下的文件都有哪些啦,常用的也就几个参数 1.ls -a 表示以字母表的顺序列出当前目录下面的文件. 2.ls -l 表示列出各个文件的详细信息,至于是什么详细信息,可以看下面的啦 ls -l(这个参数是字母L的小写,不是数字1) 这个命令可以使用长格式显示文件内容,如果需要察看更详细的文件资料,就要用到ls -l这个指令.例如我在某个目录下键入ls -l可能会显示如下信息(最上面两行是我自己加的): 位置 1 2 3 4 5 6 7 文件属性 文件数