Ir para conteúdo
Fórum Script Brasil
  • 0

Menu Css....


Super_Zica_Man

Pergunta

2 respostass a esta questão

Posts Recomendados

  • 0

Olha o código abaixo. Você pode escolher e modificar como quiser.

<html>
<head>
<title>Menu animado</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

function MM_timelinePlay(tmLnName, myID) { //v1.2
  //Copyright 1997 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_timelineStop(tmLnName) { //v1.2
  //Copyright 1997 Macromedia, Inc. All rights reserved.
  if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  if (tmLnName == null)  //stop all
    for (var i=0; i<document.MM_Time.length; i++) document.MM_Time[i].ID = null;
  else document.MM_Time[tmLnName].ID = null; //stop one
}

function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
  //Copyright 1997 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)');
}

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);
    document.MM_Time = new Array(4);
    document.MM_Time[0] = new Array(7);
    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("behavior");
    document.MM_Time[0][0].frame = 1;
    document.MM_Time[0][0].value = "MM_timelineStop('Timeline1')";
    document.MM_Time[0][1] = new String("behavior");
    document.MM_Time[0][1].frame = 15;
    document.MM_Time[0][1].value = "MM_timelineStop('Timeline1')";
    document.MM_Time[0][2] = new String("behavior");
    document.MM_Time[0][2].frame = 31;
    document.MM_Time[0][2].value = "MM_timelineGoto('Timeline1','1')";
    document.MM_Time[0][3] = new String("sprite");
    document.MM_Time[0][3].slot = 1;
    if (ns4)
        document.MM_Time[0][3].obj = document["submenu1"];
    else if (ns5)
        document.MM_Time[0][3].obj = document.getElementById("submenu1");
    else
        document.MM_Time[0][3].obj = document.all ? document.all["submenu1"] : null;
    document.MM_Time[0][3].keyFrames = new Array(1, 15);
    document.MM_Time[0][3].values = new Array(3);
    if (ns5)
        document.MM_Time[0][3].values[0] = new Array("343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px");
    else
        document.MM_Time[0][3].values[0] = new Array(343,343,343,343,343,343,343,343,343,343,343,343,343,343,343);
    document.MM_Time[0][3].values[0].prop = "left";
    if (ns5)
        document.MM_Time[0][3].values[1] = new Array("-120px", "-111px", "-103px", "-94px", "-86px", "-77px", "-69px", "-60px", "-51px", "-43px", "-34px", "-26px", "-17px", "-9px", "0px");
    else
        document.MM_Time[0][3].values[1] = new Array(-120,-111,-103,-94,-86,-77,-69,-60,-51,-43,-34,-26,-17,-9,0);
    document.MM_Time[0][3].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[0][3].values[0].prop2 = "style";
        document.MM_Time[0][3].values[1].prop2 = "style";
    }
    document.MM_Time[0][3].values[2] = new Array("1","1");
    document.MM_Time[0][3].values[2].prop = "zIndex";
    if (!ns4)
        document.MM_Time[0][3].values[2].prop2 = "style";
    document.MM_Time[0][4] = new String("sprite");
    document.MM_Time[0][4].slot = 1;
    if (ns4)
        document.MM_Time[0][4].obj = document["submenu1"];
    else if (ns5)
        document.MM_Time[0][4].obj = document.getElementById("submenu1");
    else
        document.MM_Time[0][4].obj = document.all ? document.all["submenu1"] : null;
    document.MM_Time[0][4].keyFrames = new Array(16, 30);
    document.MM_Time[0][4].values = new Array(3);
    if (ns5)
        document.MM_Time[0][4].values[0] = new Array("343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px");
    else
        document.MM_Time[0][4].values[0] = new Array(343,343,343,343,343,343,343,343,343,343,343,343,343,343,343);
    document.MM_Time[0][4].values[0].prop = "left";
    if (ns5)
        document.MM_Time[0][4].values[1] = new Array("-5px", "-12px", "-20px", "-27px", "-35px", "-42px", "-50px", "-57px", "-64px", "-72px", "-79px", "-87px", "-94px", "-102px", "-109px");
    else
        document.MM_Time[0][4].values[1] = new Array(-5,-12,-20,-27,-35,-42,-50,-57,-64,-72,-79,-87,-94,-102,-109);
    document.MM_Time[0][4].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[0][4].values[0].prop2 = "style";
        document.MM_Time[0][4].values[1].prop2 = "style";
    }
    document.MM_Time[0][4].values[2] = new Array("1","1");
    document.MM_Time[0][4].values[2].prop = "zIndex";
    if (!ns4)
        document.MM_Time[0][4].values[2].prop2 = "style";
    document.MM_Time[0][5] = new String("sprite");
    document.MM_Time[0][5].slot = 2;
    if (ns4)
        document.MM_Time[0][5].obj = document["menu1"];
    else if (ns5)
        document.MM_Time[0][5].obj = document.getElementById("menu1");
    else
        document.MM_Time[0][5].obj = document.all ? document.all["menu1"] : null;
    document.MM_Time[0][5].keyFrames = new Array(1, 15);
    document.MM_Time[0][5].values = new Array(2);
    if (ns5)
        document.MM_Time[0][5].values[0] = new Array("343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px");
    else
        document.MM_Time[0][5].values[0] = new Array(343,343,343,343,343,343,343,343,343,343,343,343,343,343,343);
    document.MM_Time[0][5].values[0].prop = "left";
    if (ns5)
        document.MM_Time[0][5].values[1] = new Array("-3px", "6px", "16px", "25px", "34px", "44px", "53px", "63px", "72px", "81px", "91px", "100px", "109px", "119px", "128px");
    else
        document.MM_Time[0][5].values[1] = new Array(-3,6,16,25,34,44,53,63,72,81,91,100,109,119,128);
    document.MM_Time[0][5].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[0][5].values[0].prop2 = "style";
        document.MM_Time[0][5].values[1].prop2 = "style";
    }
    document.MM_Time[0][6] = new String("sprite");
    document.MM_Time[0][6].slot = 2;
    if (ns4)
        document.MM_Time[0][6].obj = document["menu1"];
    else if (ns5)
        document.MM_Time[0][6].obj = document.getElementById("menu1");
    else
        document.MM_Time[0][6].obj = document.all ? document.all["menu1"] : null;
    document.MM_Time[0][6].keyFrames = new Array(16, 30);
    document.MM_Time[0][6].values = new Array(2);
    if (ns5)
        document.MM_Time[0][6].values[0] = new Array("343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px");
    else
        document.MM_Time[0][6].values[0] = new Array(343,343,343,343,343,343,343,343,343,343,343,343,343,343,343);
    document.MM_Time[0][6].values[0].prop = "left";
    if (ns5)
        document.MM_Time[0][6].values[1] = new Array("123px", "114px", "105px", "97px", "88px", "79px", "70px", "62px", "53px", "44px", "35px", "26px", "18px", "9px", "0px");
    else
        document.MM_Time[0][6].values[1] = new Array(123,114,105,97,88,79,70,62,53,44,35,26,18,9,0);
    document.MM_Time[0][6].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[0][6].values[0].prop2 = "style";
        document.MM_Time[0][6].values[1].prop2 = "style";
    }
    document.MM_Time[0].lastFrame = 31;
    document.MM_Time[1] = new Array(5);
    document.MM_Time["Timeline2"] = document.MM_Time[1];
    document.MM_Time[1].MM_Name = "Timeline2";
    document.MM_Time[1].fps = 15;
    document.MM_Time[1][0] = new String("sprite");
    document.MM_Time[1][0].slot = 1;
    if (ns4)
        document.MM_Time[1][0].obj = document["submenu"];
    else if (ns5)
        document.MM_Time[1][0].obj = document.getElementById("submenu");
    else
        document.MM_Time[1][0].obj = document.all ? document.all["submenu"] : null;
    document.MM_Time[1][0].keyFrames = new Array(1, 15);
    document.MM_Time[1][0].values = new Array(3);
    if (ns5)
        document.MM_Time[1][0].values[0] = new Array("84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px");
    else
        document.MM_Time[1][0].values[0] = new Array(84,84,84,84,84,84,84,84,84,84,84,84,84,84,84);
    document.MM_Time[1][0].values[0].prop = "left";
    if (ns5)
        document.MM_Time[1][0].values[1] = new Array("-123px", "-113px", "-102px", "-92px", "-82px", "-71px", "-61px", "-51px", "-40px", "-30px", "-19px", "-9px", "1px", "12px", "22px");
    else
        document.MM_Time[1][0].values[1] = new Array(-123,-113,-102,-92,-82,-71,-61,-51,-40,-30,-19,-9,1,12,22);
    document.MM_Time[1][0].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[1][0].values[0].prop2 = "style";
        document.MM_Time[1][0].values[1].prop2 = "style";
    }
    document.MM_Time[1][0].values[2] = new Array("1","1");
    document.MM_Time[1][0].values[2].prop = "zIndex";
    if (!ns4)
        document.MM_Time[1][0].values[2].prop2 = "style";
    document.MM_Time[1][1] = new String("sprite");
    document.MM_Time[1][1].slot = 1;
    if (ns4)
        document.MM_Time[1][1].obj = document["submenu"];
    else if (ns5)
        document.MM_Time[1][1].obj = document.getElementById("submenu");
    else
        document.MM_Time[1][1].obj = document.all ? document.all["submenu"] : null;
    document.MM_Time[1][1].keyFrames = new Array(16, 30);
    document.MM_Time[1][1].values = new Array(3);
    if (ns5)
        document.MM_Time[1][1].values[0] = new Array("84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px");
    else
        document.MM_Time[1][1].values[0] = new Array(84,84,84,84,84,84,84,84,84,84,84,84,84,84,84);
    document.MM_Time[1][1].values[0].prop = "left";
    if (ns5)
        document.MM_Time[1][1].values[1] = new Array("22px", "12px", "1px", "-9px", "-19px", "-30px", "-40px", "-51px", "-61px", "-71px", "-82px", "-92px", "-102px", "-113px", "-123px");
    else
        document.MM_Time[1][1].values[1] = new Array(22,12,1,-9,-19,-30,-40,-51,-61,-71,-82,-92,-102,-113,-123);
    document.MM_Time[1][1].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[1][1].values[0].prop2 = "style";
        document.MM_Time[1][1].values[1].prop2 = "style";
    }
    document.MM_Time[1][1].values[2] = new Array("1","1");
    document.MM_Time[1][1].values[2].prop = "zIndex";
    if (!ns4)
        document.MM_Time[1][1].values[2].prop2 = "style";
    document.MM_Time[1][2] = new String("behavior");
    document.MM_Time[1][2].frame = 1;
    document.MM_Time[1][2].value = "MM_timelineStop('Timeline2')";
    document.MM_Time[1][3] = new String("behavior");
    document.MM_Time[1][3].frame = 31;
    document.MM_Time[1][3].value = "MM_timelineGoto('Timeline2','1')";
    document.MM_Time[1][4] = new String("behavior");
    document.MM_Time[1][4].frame = 15;
    document.MM_Time[1][4].value = "MM_timelineStop('Timeline2')";
    document.MM_Time[1].lastFrame = 31;
    document.MM_Time[2] = new Array(5);
    document.MM_Time["Timeline3"] = document.MM_Time[2];
    document.MM_Time[2].MM_Name = "Timeline3";
    document.MM_Time[2].fps = 15;
    document.MM_Time[2][0] = new String("sprite");
    document.MM_Time[2][0].slot = 1;
    if (ns4)
        document.MM_Time[2][0].obj = document["submenu3"];
    else if (ns5)
        document.MM_Time[2][0].obj = document.getElementById("submenu3");
    else
        document.MM_Time[2][0].obj = document.all ? document.all["submenu3"] : null;
    document.MM_Time[2][0].keyFrames = new Array(1, 15);
    document.MM_Time[2][0].values = new Array(3);
    if (ns5)
        document.MM_Time[2][0].values[0] = new Array("-125px", "-114px", "-103px", "-91px", "-80px", "-69px", "-58px", "-47px", "-35px", "-24px", "-13px", "-2px", "10px", "21px", "32px");
    else
        document.MM_Time[2][0].values[0] = new Array(-125,-114,-103,-91,-80,-69,-58,-47,-35,-24,-13,-2,10,21,32);
    document.MM_Time[2][0].values[0].prop = "left";
    if (ns5)
        document.MM_Time[2][0].values[1] = new Array("158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px");
    else
        document.MM_Time[2][0].values[1] = new Array(158,158,158,158,158,158,158,158,158,158,158,158,158,158,158);
    document.MM_Time[2][0].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[2][0].values[0].prop2 = "style";
        document.MM_Time[2][0].values[1].prop2 = "style";
    }
    document.MM_Time[2][0].values[2] = new Array("3","1");
    document.MM_Time[2][0].values[2].prop = "zIndex";
    if (!ns4)
        document.MM_Time[2][0].values[2].prop2 = "style";
    document.MM_Time[2][1] = new String("sprite");
    document.MM_Time[2][1].slot = 1;
    if (ns4)
        document.MM_Time[2][1].obj = document["submenu3"];
    else if (ns5)
        document.MM_Time[2][1].obj = document.getElementById("submenu3");
    else
        document.MM_Time[2][1].obj = document.all ? document.all["submenu3"] : null;
    document.MM_Time[2][1].keyFrames = new Array(16, 30);
    document.MM_Time[2][1].values = new Array(3);
    if (ns5)
        document.MM_Time[2][1].values[0] = new Array("32px", "21px", "10px", "-1px", "-13px", "-24px", "-35px", "-46px", "-57px", "-68px", "-79px", "-91px", "-102px", "-113px", "-124px");
    else
        document.MM_Time[2][1].values[0] = new Array(32,21,10,-1,-13,-24,-35,-46,-57,-68,-79,-91,-102,-113,-124);
    document.MM_Time[2][1].values[0].prop = "left";
    if (ns5)
        document.MM_Time[2][1].values[1] = new Array("158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px");
    else
        document.MM_Time[2][1].values[1] = new Array(158,158,158,158,158,158,158,158,158,158,158,158,158,158,158);
    document.MM_Time[2][1].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[2][1].values[0].prop2 = "style";
        document.MM_Time[2][1].values[1].prop2 = "style";
    }
    document.MM_Time[2][1].values[2] = new Array("1","1");
    document.MM_Time[2][1].values[2].prop = "zIndex";
    if (!ns4)
        document.MM_Time[2][1].values[2].prop2 = "style";
    document.MM_Time[2][2] = new String("behavior");
    document.MM_Time[2][2].frame = 31;
    document.MM_Time[2][2].value = "MM_timelineGoto('Timeline3','1')";
    document.MM_Time[2][3] = new String("behavior");
    document.MM_Time[2][3].frame = 1;
    document.MM_Time[2][3].value = "MM_timelineStop('Timeline3')";
    document.MM_Time[2][4] = new String("behavior");
    document.MM_Time[2][4].frame = 15;
    document.MM_Time[2][4].value = "MM_timelineStop('Timeline3')";
    document.MM_Time[2].lastFrame = 31;
    document.MM_Time[3] = new Array(7);
    document.MM_Time["Timeline4"] = document.MM_Time[3];
    document.MM_Time[3].MM_Name = "Timeline4";
    document.MM_Time[3].fps = 15;
    document.MM_Time[3][0] = new String("sprite");
    document.MM_Time[3][0].slot = 2;
    if (ns4)
        document.MM_Time[3][0].obj = document["submenu4"];
    else if (ns5)
        document.MM_Time[3][0].obj = document.getElementById("submenu4");
    else
        document.MM_Time[3][0].obj = document.all ? document.all["submenu4"] : null;
    document.MM_Time[3][0].keyFrames = new Array(1, 15);
    document.MM_Time[3][0].values = new Array(2);
    if (ns5)
        document.MM_Time[3][0].values[0] = new Array("-107px", "-100px", "-93px", "-86px", "-79px", "-72px", "-65px", "-58px", "-50px", "-43px", "-36px", "-29px", "-22px", "-15px", "-8px");
    else
        document.MM_Time[3][0].values[0] = new Array(-107,-100,-93,-86,-79,-72,-65,-58,-50,-43,-36,-29,-22,-15,-8);
    document.MM_Time[3][0].values[0].prop = "left";
    if (ns5)
        document.MM_Time[3][0].values[1] = new Array("300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px");
    else
        document.MM_Time[3][0].values[1] = new Array(300,300,300,300,300,300,300,300,300,300,300,300,300,300,300);
    document.MM_Time[3][0].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[3][0].values[0].prop2 = "style";
        document.MM_Time[3][0].values[1].prop2 = "style";
    }
    document.MM_Time[3][1] = new String("sprite");
    document.MM_Time[3][1].slot = 1;
    if (ns4)
        document.MM_Time[3][1].obj = document["menu4"];
    else if (ns5)
        document.MM_Time[3][1].obj = document.getElementById("menu4");
    else
        document.MM_Time[3][1].obj = document.all ? document.all["menu4"] : null;
    document.MM_Time[3][1].keyFrames = new Array(1, 15);
    document.MM_Time[3][1].values = new Array(2);
    if (ns5)
        document.MM_Time[3][1].values[0] = new Array("-1px", "6px", "14px", "22px", "29px", "37px", "44px", "52px", "59px", "67px", "74px", "82px", "89px", "97px", "104px");
    else
        document.MM_Time[3][1].values[0] = new Array(-1,6,14,22,29,37,44,52,59,67,74,82,89,97,104);
    document.MM_Time[3][1].values[0].prop = "left";
    if (ns5)
        document.MM_Time[3][1].values[1] = new Array("300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px");
    else
        document.MM_Time[3][1].values[1] = new Array(300,300,300,300,300,300,300,300,300,300,300,300,300,300,300);
    document.MM_Time[3][1].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[3][1].values[0].prop2 = "style";
        document.MM_Time[3][1].values[1].prop2 = "style";
    }
    document.MM_Time[3][2] = new String("sprite");
    document.MM_Time[3][2].slot = 1;
    if (ns4)
        document.MM_Time[3][2].obj = document["menu4"];
    else if (ns5)
        document.MM_Time[3][2].obj = document.getElementById("menu4");
    else
        document.MM_Time[3][2].obj = document.all ? document.all["menu4"] : null;
    document.MM_Time[3][2].keyFrames = new Array(16, 30);
    document.MM_Time[3][2].values = new Array(2);
    if (ns5)
        document.MM_Time[3][2].values[0] = new Array("104px", "97px", "89px", "82px", "74px", "67px", "59px", "52px", "45px", "37px", "30px", "22px", "15px", "7px", "0px");
    else
        document.MM_Time[3][2].values[0] = new Array(104,97,89,82,74,67,59,52,45,37,30,22,15,7,0);
    document.MM_Time[3][2].values[0].prop = "left";
    if (ns5)
        document.MM_Time[3][2].values[1] = new Array("300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px");
    else
        document.MM_Time[3][2].values[1] = new Array(300,300,300,300,300,300,300,300,300,300,300,300,300,300,300);
    document.MM_Time[3][2].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[3][2].values[0].prop2 = "style";
        document.MM_Time[3][2].values[1].prop2 = "style";
    }
    document.MM_Time[3][3] = new String("sprite");
    document.MM_Time[3][3].slot = 2;
    if (ns4)
        document.MM_Time[3][3].obj = document["submenu4"];
    else if (ns5)
        document.MM_Time[3][3].obj = document.getElementById("submenu4");
    else
        document.MM_Time[3][3].obj = document.all ? document.all["submenu4"] : null;
    document.MM_Time[3][3].keyFrames = new Array(16, 30);
    document.MM_Time[3][3].values = new Array(2);
    if (ns5)
        document.MM_Time[3][3].values[0] = new Array("-8px", "-15px", "-23px", "-30px", "-37px", "-45px", "-52px", "-60px", "-67px", "-74px", "-82px", "-89px", "-96px", "-104px", "-111px");
    else
        document.MM_Time[3][3].values[0] = new Array(-8,-15,-23,-30,-37,-45,-52,-60,-67,-74,-82,-89,-96,-104,-111);
    document.MM_Time[3][3].values[0].prop = "left";
    if (ns5)
        document.MM_Time[3][3].values[1] = new Array("300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px");
    else
        document.MM_Time[3][3].values[1] = new Array(300,300,300,300,300,300,300,300,300,300,300,300,300,300,300);
    document.MM_Time[3][3].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[3][3].values[0].prop2 = "style";
        document.MM_Time[3][3].values[1].prop2 = "style";
    }
    document.MM_Time[3][4] = new String("behavior");
    document.MM_Time[3][4].frame = 31;
    document.MM_Time[3][4].value = "MM_timelineGoto('Timeline4','1')";
    document.MM_Time[3][5] = new String("behavior");
    document.MM_Time[3][5].frame = 1;
    document.MM_Time[3][5].value = "MM_timelineStop('Timeline4')";
    document.MM_Time[3][6] = new String("behavior");
    document.MM_Time[3][6].frame = 15;
    document.MM_Time[3][6].value = "MM_timelineStop('Timeline4')";
    document.MM_Time[3].lastFrame = 31;
    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;
    }
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_timelinePlay('Timeline1');MM_timelinePlay('Timeline2');MM_timelinePlay('Timeline3');MM_timelinePlay('Timeline4')">
<div id="menu" style="position:absolute; left:84px; top:-1px; width:142px; height:21px; z-index:5; background-color: #FFCC99; layer-background-color: #FFCC99; border: 1px none #000000">
  <div align="center"> <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><i><font size="3"><a href="#" onClick="MM_timelinePlay('Timeline2')">Menu</a></font></i></b></font></div>
</div>
<div id="submenu" style="position:absolute; left:84px; top:-123px; width:142px; height:127px; z-index:2; background-color: #99FF99; layer-background-color: #99FF99; border: 1px none #000000">
  <table width="140" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td>
        <div align="center"><a href="#">LINK 1</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK2</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK3</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK4</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK5</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK6</a></div>
      </td>
    </tr>
  </table>
</div>
<div id="menu3" style="position:absolute; left:1px; top:158px; width:30px; height:116px; z-index:7; background-color: #FFCC99; layer-background-color: #FFCC99; border: 1px none #000000">
  <div align="center">
    <p><br>
      <a href="#" onClick="MM_timelinePlay('Timeline3')">M<br>
      E<br>
      N<br>
      U</a> </p>
    </div>
</div>
<div id="submenu3" style="position:absolute; left:-125px; top:158px; width:132px; height:115px; z-index:3; background-color: #CCFFFF; layer-background-color: #CCFFFF; border: 1px none #000000">
  <table width="129" border="0" cellspacing="0" cellpadding="0" height="113">
    <tr>
      <td>
        <div align="center"><a href="#">LINK 1</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK 2</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK 3</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK 4</a></div>
      </td>
    </tr>
  </table>
</div>
<div id="menu4" style="position:absolute; left:-1px; top:300px; width:30px; height:111px; z-index:8; background-color: #FFCC99; layer-background-color: #FFCC99; border: 1px none #000000">
  <div align="center"><br>
    <a href="#" onClick="MM_timelinePlay('Timeline4')">M<br>
    E<br>
    N<br>
    U</a><br>
  </div>
</div>
<div id="submenu4" style="position:absolute; left:-107px; top:300px; width:111px; height:111px; z-index:1; background-color: #99FFFF; layer-background-color: #99FFFF; border: 1px none #000000">
  <table width="109" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td>
        <div align="center"><font color="#99FFFF">LINK 1</font></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK 1</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK 2</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK 3</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK 4</a></div>
      </td>
    </tr>
  </table>
</div>
<p>&nbsp;</p>
<div id="menu1" style="position:absolute; left:343px; top:-3px; width:142px; height:24px; z-index:6; background-color: #FFCC99; layer-background-color: #FFCC99; border: 1px none #000000">
  <div align="center"> <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b><i><font size="3"><a href="#" onClick="MM_timelinePlay('Timeline1')">Jogos</a></font></i></b></font></div>
</div>
<div id="submenu1" style="position:absolute; left:343px; top:-120px; width:142px; height:127px; z-index:1; background-color: #99FF99; layer-background-color: #99FF99; border: 1px none #000000">
  <table width="140" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td>
        <div align="center"></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK5</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK4</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK3</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK2</a></div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center"><a href="#">LINK1</a></div>
      </td>
    </tr>
  </table>
</div>
<p>&nbsp;</p>
</body>
</html>

wink.gif

Link para o comentário
Compartilhar em outros sites

  • 0

ta vlw...andei vendo o codigo e isso mesmo q queria so q queria q tipo tenho um menu em css....dai no meio do menu tem um link produtos dai quando clicasse nos produtos abri-se em baixo dele..

so q ta abrindo la em cima n sei se devo arrumar na tabela ou na timeline se for na timeline pod me mostrar ond arrumar os valores obrigado...

meu codigo:

<!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=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
#menuver {
width: 11em;
padding: 0; 
margin: 0;
font: 12px Verdana, sans-serif;
background: #DFE0DF; 
border-top: 3px solid blue; 
border-bottom: 3px solid blue; 
}
#menuver li {
list-style: none;
margin: 0.5em 0 0.5em 0.5em; 
}
#menuver li a {
margin:0; 
padding:0;
text-decoration:none;
color: #000;
}
#menuver li a:visited {
color: #000;
}
#menuver li a:hover { 
background: #fff;
color: #000; 
}
</style>
<script language="JavaScript">
<!--
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
 if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
   document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
 else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

function MM_timelinePlay(tmLnName, myID) { //v1.2
 //Copyright 1997 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_timelineStop(tmLnName) { //v1.2
 //Copyright 1997 Macromedia, Inc. All rights reserved.
 if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
 if (tmLnName == null)  //stop all
   for (var i=0; i<document.MM_Time.length; i++) document.MM_Time[i].ID = null;
 else document.MM_Time[tmLnName].ID = null; //stop one
}

function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
 //Copyright 1997 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)');
}

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);
   document.MM_Time = new Array(4);
   document.MM_Time[0] = new Array(7);
   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("behavior");
   document.MM_Time[0][0].frame = 1;
   document.MM_Time[0][0].value = "MM_timelineStop('Timeline1')";
   document.MM_Time[0][1] = new String("behavior");
   document.MM_Time[0][1].frame = 15;
   document.MM_Time[0][1].value = "MM_timelineStop('Timeline1')";
   document.MM_Time[0][2] = new String("behavior");
   document.MM_Time[0][2].frame = 31;
   document.MM_Time[0][2].value = "MM_timelineGoto('Timeline1','1')";
   document.MM_Time[0][3] = new String("sprite");
   document.MM_Time[0][3].slot = 1;
   if (ns4)
       document.MM_Time[0][3].obj = document["submenu1"];
   else if (ns5)
       document.MM_Time[0][3].obj = document.getElementById("submenu1");
   else
       document.MM_Time[0][3].obj = document.all ? document.all["submenu1"] : null;
   document.MM_Time[0][3].keyFrames = new Array(1, 15);
   document.MM_Time[0][3].values = new Array(3);
   if (ns5)
       document.MM_Time[0][3].values[0] = new Array("343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px");
   else
       document.MM_Time[0][3].values[0] = new Array(343,343,343,343,343,343,343,343,343,343,343,343,343,343,343);
   document.MM_Time[0][3].values[0].prop = "left";
   if (ns5)
       document.MM_Time[0][3].values[1] = new Array("-120px", "-111px", "-103px", "-94px", "-86px", "-77px", "-69px", "-60px", "-51px", "-43px", "-34px", "-26px", "-17px", "-9px", "0px");
   else
       document.MM_Time[0][3].values[1] = new Array(-120,-111,-103,-94,-86,-77,-69,-60,-51,-43,-34,-26,-17,-9,0);
   document.MM_Time[0][3].values[1].prop = "top";
   if (!ns4) {
       document.MM_Time[0][3].values[0].prop2 = "style";
       document.MM_Time[0][3].values[1].prop2 = "style";
   }
   document.MM_Time[0][3].values[2] = new Array("1","1");
   document.MM_Time[0][3].values[2].prop = "zIndex";
   if (!ns4)
       document.MM_Time[0][3].values[2].prop2 = "style";
   document.MM_Time[0][4] = new String("sprite");
   document.MM_Time[0][4].slot = 1;
   if (ns4)
       document.MM_Time[0][4].obj = document["submenu1"];
   else if (ns5)
       document.MM_Time[0][4].obj = document.getElementById("submenu1");
   else
       document.MM_Time[0][4].obj = document.all ? document.all["submenu1"] : null;
   document.MM_Time[0][4].keyFrames = new Array(16, 30);
   document.MM_Time[0][4].values = new Array(3);
   if (ns5)
       document.MM_Time[0][4].values[0] = new Array("343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px");
   else
       document.MM_Time[0][4].values[0] = new Array(343,343,343,343,343,343,343,343,343,343,343,343,343,343,343);
   document.MM_Time[0][4].values[0].prop = "left";
   if (ns5)
       document.MM_Time[0][4].values[1] = new Array("-5px", "-12px", "-20px", "-27px", "-35px", "-42px", "-50px", "-57px", "-64px", "-72px", "-79px", "-87px", "-94px", "-102px", "-109px");
   else
       document.MM_Time[0][4].values[1] = new Array(-5,-12,-20,-27,-35,-42,-50,-57,-64,-72,-79,-87,-94,-102,-109);
   document.MM_Time[0][4].values[1].prop = "top";
   if (!ns4) {
       document.MM_Time[0][4].values[0].prop2 = "style";
       document.MM_Time[0][4].values[1].prop2 = "style";
   }
   document.MM_Time[0][4].values[2] = new Array("1","1");
   document.MM_Time[0][4].values[2].prop = "zIndex";
   if (!ns4)
       document.MM_Time[0][4].values[2].prop2 = "style";
   document.MM_Time[0][5] = new String("sprite");
   document.MM_Time[0][5].slot = 2;
   if (ns4)
       document.MM_Time[0][5].obj = document["menu1"];
   else if (ns5)
       document.MM_Time[0][5].obj = document.getElementById("menu1");
   else
       document.MM_Time[0][5].obj = document.all ? document.all["menu1"] : null;
   document.MM_Time[0][5].keyFrames = new Array(1, 15);
   document.MM_Time[0][5].values = new Array(2);
   if (ns5)
       document.MM_Time[0][5].values[0] = new Array("343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px");
   else
       document.MM_Time[0][5].values[0] = new Array(343,343,343,343,343,343,343,343,343,343,343,343,343,343,343);
   document.MM_Time[0][5].values[0].prop = "left";
   if (ns5)
       document.MM_Time[0][5].values[1] = new Array("-3px", "6px", "16px", "25px", "34px", "44px", "53px", "63px", "72px", "81px", "91px", "100px", "109px", "119px", "128px");
   else
       document.MM_Time[0][5].values[1] = new Array(-3,6,16,25,34,44,53,63,72,81,91,100,109,119,128);
   document.MM_Time[0][5].values[1].prop = "top";
   if (!ns4) {
       document.MM_Time[0][5].values[0].prop2 = "style";
       document.MM_Time[0][5].values[1].prop2 = "style";
   }
   document.MM_Time[0][6] = new String("sprite");
   document.MM_Time[0][6].slot = 2;
   if (ns4)
       document.MM_Time[0][6].obj = document["menu1"];
   else if (ns5)
       document.MM_Time[0][6].obj = document.getElementById("menu1");
   else
       document.MM_Time[0][6].obj = document.all ? document.all["menu1"] : null;
   document.MM_Time[0][6].keyFrames = new Array(16, 30);
   document.MM_Time[0][6].values = new Array(2);
   if (ns5)
       document.MM_Time[0][6].values[0] = new Array("343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px", "343px");
   else
       document.MM_Time[0][6].values[0] = new Array(343,343,343,343,343,343,343,343,343,343,343,343,343,343,343);
   document.MM_Time[0][6].values[0].prop = "left";
   if (ns5)
       document.MM_Time[0][6].values[1] = new Array("123px", "114px", "105px", "97px", "88px", "79px", "70px", "62px", "53px", "44px", "35px", "26px", "18px", "9px", "0px");
   else
       document.MM_Time[0][6].values[1] = new Array(123,114,105,97,88,79,70,62,53,44,35,26,18,9,0);
   document.MM_Time[0][6].values[1].prop = "top";
   if (!ns4) {
       document.MM_Time[0][6].values[0].prop2 = "style";
       document.MM_Time[0][6].values[1].prop2 = "style";
   }
   document.MM_Time[0].lastFrame = 31;
   document.MM_Time[1] = new Array(5);
   document.MM_Time["Timeline2"] = document.MM_Time[1];
   document.MM_Time[1].MM_Name = "Timeline2";
   document.MM_Time[1].fps = 15;
   document.MM_Time[1][0] = new String("sprite");
   document.MM_Time[1][0].slot = 1;
   if (ns4)
       document.MM_Time[1][0].obj = document["submenu"];
   else if (ns5)
       document.MM_Time[1][0].obj = document.getElementById("submenu");
   else
       document.MM_Time[1][0].obj = document.all ? document.all["submenu"] : null;
   document.MM_Time[1][0].keyFrames = new Array(1, 15);
   document.MM_Time[1][0].values = new Array(3);
   if (ns5)
       document.MM_Time[1][0].values[0] = new Array("84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px");
   else
       document.MM_Time[1][0].values[0] = new Array(84,84,84,84,84,84,84,84,84,84,84,84,84,84,84);
   document.MM_Time[1][0].values[0].prop = "left";
   if (ns5)
       document.MM_Time[1][0].values[1] = new Array("-123px", "-113px", "-102px", "-92px", "-82px", "-71px", "-61px", "-51px", "-40px", "-30px", "-19px", "-9px", "1px", "12px", "22px");
   else
       document.MM_Time[1][0].values[1] = new Array(-123,-113,-102,-92,-82,-71,-61,-51,-40,-30,-19,-9,1,12,22);
   document.MM_Time[1][0].values[1].prop = "top";
   if (!ns4) {
       document.MM_Time[1][0].values[0].prop2 = "style";
       document.MM_Time[1][0].values[1].prop2 = "style";
   }
   document.MM_Time[1][0].values[2] = new Array("1","1");
   document.MM_Time[1][0].values[2].prop = "zIndex";
   if (!ns4)
       document.MM_Time[1][0].values[2].prop2 = "style";
   document.MM_Time[1][1] = new String("sprite");
   document.MM_Time[1][1].slot = 1;
   if (ns4)
       document.MM_Time[1][1].obj = document["submenu"];
   else if (ns5)
       document.MM_Time[1][1].obj = document.getElementById("submenu");
   else
       document.MM_Time[1][1].obj = document.all ? document.all["submenu"] : null;
   document.MM_Time[1][1].keyFrames = new Array(16, 30);
   document.MM_Time[1][1].values = new Array(3);
   if (ns5)
       document.MM_Time[1][1].values[0] = new Array("84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px", "84px");
   else
       document.MM_Time[1][1].values[0] = new Array(84,84,84,84,84,84,84,84,84,84,84,84,84,84,84);
   document.MM_Time[1][1].values[0].prop = "left";
   if (ns5)
       document.MM_Time[1][1].values[1] = new Array("22px", "12px", "1px", "-9px", "-19px", "-30px", "-40px", "-51px", "-61px", "-71px", "-82px", "-92px", "-102px", "-113px", "-123px");
   else
       document.MM_Time[1][1].values[1] = new Array(22,12,1,-9,-19,-30,-40,-51,-61,-71,-82,-92,-102,-113,-123);
   document.MM_Time[1][1].values[1].prop = "top";
   if (!ns4) {
       document.MM_Time[1][1].values[0].prop2 = "style";
       document.MM_Time[1][1].values[1].prop2 = "style";
   }
   document.MM_Time[1][1].values[2] = new Array("1","1");
   document.MM_Time[1][1].values[2].prop = "zIndex";
   if (!ns4)
       document.MM_Time[1][1].values[2].prop2 = "style";
   document.MM_Time[1][2] = new String("behavior");
   document.MM_Time[1][2].frame = 1;
   document.MM_Time[1][2].value = "MM_timelineStop('Timeline2')";
   document.MM_Time[1][3] = new String("behavior");
   document.MM_Time[1][3].frame = 31;
   document.MM_Time[1][3].value = "MM_timelineGoto('Timeline2','1')";
   document.MM_Time[1][4] = new String("behavior");
   document.MM_Time[1][4].frame = 15;
   document.MM_Time[1][4].value = "MM_timelineStop('Timeline2')";
   document.MM_Time[1].lastFrame = 31;
   document.MM_Time[2] = new Array(5);
   document.MM_Time["Timeline3"] = document.MM_Time[2];
   document.MM_Time[2].MM_Name = "Timeline3";
   document.MM_Time[2].fps = 15;
   document.MM_Time[2][0] = new String("sprite");
   document.MM_Time[2][0].slot = 1;
   if (ns4)
       document.MM_Time[2][0].obj = document["submenu3"];
   else if (ns5)
       document.MM_Time[2][0].obj = document.getElementById("submenu3");
   else
       document.MM_Time[2][0].obj = document.all ? document.all["submenu3"] : null;
   document.MM_Time[2][0].keyFrames = new Array(1, 15);
   document.MM_Time[2][0].values = new Array(3);
   if (ns5)
       document.MM_Time[2][0].values[0] = new Array("-125px", "-114px", "-103px", "-91px", "-80px", "-69px", "-58px", "-47px", "-35px", "-24px", "-13px", "-2px", "10px", "21px", "32px");
   else
       document.MM_Time[2][0].values[0] = new Array(-125,-114,-103,-91,-80,-69,-58,-47,-35,-24,-13,-2,10,21,32);
   document.MM_Time[2][0].values[0].prop = "left";
   if (ns5)
       document.MM_Time[2][0].values[1] = new Array("158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px");
   else
       document.MM_Time[2][0].values[1] = new Array(158,158,158,158,158,158,158,158,158,158,158,158,158,158,158);
   document.MM_Time[2][0].values[1].prop = "top";
   if (!ns4) {
       document.MM_Time[2][0].values[0].prop2 = "style";
       document.MM_Time[2][0].values[1].prop2 = "style";
   }
   document.MM_Time[2][0].values[2] = new Array("3","1");
   document.MM_Time[2][0].values[2].prop = "zIndex";
   if (!ns4)
       document.MM_Time[2][0].values[2].prop2 = "style";
   document.MM_Time[2][1] = new String("sprite");
   document.MM_Time[2][1].slot = 1;
   if (ns4)
       document.MM_Time[2][1].obj = document["submenu3"];
   else if (ns5)
       document.MM_Time[2][1].obj = document.getElementById("submenu3");
   else
       document.MM_Time[2][1].obj = document.all ? document.all["submenu3"] : null;
   document.MM_Time[2][1].keyFrames = new Array(16, 30);
   document.MM_Time[2][1].values = new Array(3);
   if (ns5)
       document.MM_Time[2][1].values[0] = new Array("32px", "21px", "10px", "-1px", "-13px", "-24px", "-35px", "-46px", "-57px", "-68px", "-79px", "-91px", "-102px", "-113px", "-124px");
   else
       document.MM_Time[2][1].values[0] = new Array(32,21,10,-1,-13,-24,-35,-46,-57,-68,-79,-91,-102,-113,-124);
   document.MM_Time[2][1].values[0].prop = "left";
   if (ns5)
       document.MM_Time[2][1].values[1] = new Array("158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px", "158px");
   else
       document.MM_Time[2][1].values[1] = new Array(158,158,158,158,158,158,158,158,158,158,158,158,158,158,158);
   document.MM_Time[2][1].values[1].prop = "top";
   if (!ns4) {
       document.MM_Time[2][1].values[0].prop2 = "style";
       document.MM_Time[2][1].values[1].prop2 = "style";
   }
   document.MM_Time[2][1].values[2] = new Array("1","1");
   document.MM_Time[2][1].values[2].prop = "zIndex";
   if (!ns4)
       document.MM_Time[2][1].values[2].prop2 = "style";
   document.MM_Time[2][2] = new String("behavior");
   document.MM_Time[2][2].frame = 31;
   document.MM_Time[2][2].value = "MM_timelineGoto('Timeline3','1')";
   document.MM_Time[2][3] = new String("behavior");
   document.MM_Time[2][3].frame = 1;
   document.MM_Time[2][3].value = "MM_timelineStop('Timeline3')";
   document.MM_Time[2][4] = new String("behavior");
   document.MM_Time[2][4].frame = 15;
   document.MM_Time[2][4].value = "MM_timelineStop('Timeline3')";
   document.MM_Time[2].lastFrame = 31;
   document.MM_Time[3] = new Array(7);
   document.MM_Time["Timeline4"] = document.MM_Time[3];
   document.MM_Time[3].MM_Name = "Timeline4";
   document.MM_Time[3].fps = 15;
   document.MM_Time[3][0] = new String("sprite");
   document.MM_Time[3][0].slot = 2;
   if (ns4)
       document.MM_Time[3][0].obj = document["submenu4"];
   else if (ns5)
       document.MM_Time[3][0].obj = document.getElementById("submenu4");
   else
       document.MM_Time[3][0].obj = document.all ? document.all["submenu4"] : null;
   document.MM_Time[3][0].keyFrames = new Array(1, 15);
   document.MM_Time[3][0].values = new Array(2);
   if (ns5)
       document.MM_Time[3][0].values[0] = new Array("-107px", "-100px", "-93px", "-86px", "-79px", "-72px", "-65px", "-58px", "-50px", "-43px", "-36px", "-29px", "-22px", "-15px", "-8px");
   else
       document.MM_Time[3][0].values[0] = new Array(-107,-100,-93,-86,-79,-72,-65,-58,-50,-43,-36,-29,-22,-15,-8);
   document.MM_Time[3][0].values[0].prop = "left";
   if (ns5)
       document.MM_Time[3][0].values[1] = new Array("300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px");
   else
       document.MM_Time[3][0].values[1] = new Array(300,300,300,300,300,300,300,300,300,300,300,300,300,300,300);
   document.MM_Time[3][0].values[1].prop = "top";
   if (!ns4) {
       document.MM_Time[3][0].values[0].prop2 = "style";
       document.MM_Time[3][0].values[1].prop2 = "style";
   }
   document.MM_Time[3][1] = new String("sprite");
   document.MM_Time[3][1].slot = 1;
   if (ns4)
       document.MM_Time[3][1].obj = document["menu4"];
   else if (ns5)
       document.MM_Time[3][1].obj = document.getElementById("menu4");
   else
       document.MM_Time[3][1].obj = document.all ? document.all["menu4"] : null;
   document.MM_Time[3][1].keyFrames = new Array(1, 15);
   document.MM_Time[3][1].values = new Array(2);
   if (ns5)
       document.MM_Time[3][1].values[0] = new Array("-1px", "6px", "14px", "22px", "29px", "37px", "44px", "52px", "59px", "67px", "74px", "82px", "89px", "97px", "104px");
   else
       document.MM_Time[3][1].values[0] = new Array(-1,6,14,22,29,37,44,52,59,67,74,82,89,97,104);
   document.MM_Time[3][1].values[0].prop = "left";
   if (ns5)
       document.MM_Time[3][1].values[1] = new Array("300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px");
   else
       document.MM_Time[3][1].values[1] = new Array(300,300,300,300,300,300,300,300,300,300,300,300,300,300,300);
   document.MM_Time[3][1].values[1].prop = "top";
   if (!ns4) {
       document.MM_Time[3][1].values[0].prop2 = "style";
       document.MM_Time[3][1].values[1].prop2 = "style";
   }
   document.MM_Time[3][2] = new String("sprite");
   document.MM_Time[3][2].slot = 1;
   if (ns4)
       document.MM_Time[3][2].obj = document["menu4"];
   else if (ns5)
       document.MM_Time[3][2].obj = document.getElementById("menu4");
   else
       document.MM_Time[3][2].obj = document.all ? document.all["menu4"] : null;
   document.MM_Time[3][2].keyFrames = new Array(16, 30);
   document.MM_Time[3][2].values = new Array(2);
   if (ns5)
       document.MM_Time[3][2].values[0] = new Array("104px", "97px", "89px", "82px", "74px", "67px", "59px", "52px", "45px", "37px", "30px", "22px", "15px", "7px", "0px");
   else
       document.MM_Time[3][2].values[0] = new Array(104,97,89,82,74,67,59,52,45,37,30,22,15,7,0);
   document.MM_Time[3][2].values[0].prop = "left";
   if (ns5)
       document.MM_Time[3][2].values[1] = new Array("300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px");
   else
       document.MM_Time[3][2].values[1] = new Array(300,300,300,300,300,300,300,300,300,300,300,300,300,300,300);
   document.MM_Time[3][2].values[1].prop = "top";
   if (!ns4) {
       document.MM_Time[3][2].values[0].prop2 = "style";
       document.MM_Time[3][2].values[1].prop2 = "style";
   }
   document.MM_Time[3][3] = new String("sprite");
   document.MM_Time[3][3].slot = 2;
   if (ns4)
       document.MM_Time[3][3].obj = document["submenu4"];
   else if (ns5)
       document.MM_Time[3][3].obj = document.getElementById("submenu4");
   else
       document.MM_Time[3][3].obj = document.all ? document.all["submenu4"] : null;
   document.MM_Time[3][3].keyFrames = new Array(16, 30);
   document.MM_Time[3][3].values = new Array(2);
   if (ns5)
       document.MM_Time[3][3].values[0] = new Array("-8px", "-15px", "-23px", "-30px", "-37px", "-45px", "-52px", "-60px", "-67px", "-74px", "-82px", "-89px", "-96px", "-104px", "-111px");
   else
       document.MM_Time[3][3].values[0] = new Array(-8,-15,-23,-30,-37,-45,-52,-60,-67,-74,-82,-89,-96,-104,-111);
   document.MM_Time[3][3].values[0].prop = "left";
   if (ns5)
       document.MM_Time[3][3].values[1] = new Array("300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px", "300px");
   else
       document.MM_Time[3][3].values[1] = new Array(300,300,300,300,300,300,300,300,300,300,300,300,300,300,300);
   document.MM_Time[3][3].values[1].prop = "top";
   if (!ns4) {
       document.MM_Time[3][3].values[0].prop2 = "style";
       document.MM_Time[3][3].values[1].prop2 = "style";
   }
   document.MM_Time[3][4] = new String("behavior");
   document.MM_Time[3][4].frame = 31;
   document.MM_Time[3][4].value = "MM_timelineGoto('Timeline4','1')";
   document.MM_Time[3][5] = new String("behavior");
   document.MM_Time[3][5].frame = 1;
   document.MM_Time[3][5].value = "MM_timelineStop('Timeline4')";
   document.MM_Time[3][6] = new String("behavior");
   document.MM_Time[3][6].frame = 15;
   document.MM_Time[3][6].value = "MM_timelineStop('Timeline4')";
   document.MM_Time[3].lastFrame = 31;
   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;
   }
}
//-->
</script>
</head>

<body
onLoad="MM_timelinePlay('Timeline2')">
<ul id="menuver">
<li>
<a href="#" title="Pagina Principal">Home</a>
</li>
<li>
<a href="#" title="Sobre A Empresa">Empresa</a>
</li>
<li>
<a href="#" title="Sistemas">Sistemas</a>
</li>
<li>
<a href="#" onClick="MM_timelinePlay('Timeline2')">Produtos</a>
</li>
<div id="submenu" style="position:absolute; left:84px; top:-123px; width:100px; height:10px; z-index:2; background-color: #DFE0DF; layer-background-color: #99FF99; border: 1px none #000000">
 <table width="150" border="0" cellspacing="0" cellpadding="0">
   <tr>
     <td>
       <div align="center"><a href="#">Acess. e Perifericos</a></div>
     </td>
   </tr>
   <tr>
     <td>
       <div align="center"><a href="#">Computador/Notebook</a></div>
     </td>
   </tr>
   <tr>
     <td>
       <div align="center"><a href="#">HD-Disco Rigido</a></div>
     </td>
   </tr>
   <tr>
     <td>
       <div align="center"><a href="#">Impressora</a></div>
     </td>
   </tr>
   <tr>
     <td>
       <div align="center"><a href="#">Memória</a></div>
     </td>
   </tr>
   <tr>
     <td>
       <div align="center"><a href="#">Modem</a></div>
     </td>
   </tr>
    <tr>
     <td>
       <div align="center"><a href="#">Monitor</a></div>
     </td>
   </tr>
    <tr>
     <td>
       <div align="center"><a href="#">Multifuncional</a></div>
     </td>
   </tr>
    <tr>
     <td>
       <div align="center"><a href="#">Network/Wireless</a></div>
     </td>
   </tr>
    <tr>
     <td>
       <div align="center"><a href="#">Nobreak</a></div>
     </td>
   </tr>
    <tr>
     <td>
       <div align="center"><a href="#">Placa-Mãe</a></div>
     </td>
   </tr>
    <tr>
     <td>
       <div align="center"><a href="#">Processador</a></div>
     </td>
   </tr>
    <tr>
     <td>
       <div align="center"><a href="#">Scanner</a></div>
     </td>
   </tr>
    <tr>
     <td>
       <div align="center"><a href="#">Servidor</a></div>
     </td>
   </tr>
    <tr>
     <td>
       <div align="center"><a href="#">Software</a></div>
     </td>
   </tr>
 </table>
</div>
<li>
<a href="#" title="Ajuda">Ajuda</a>
</li>
<li>
<a href="#" title="Entre em Contato com a Caui">Contato</a>
</li>
</ul>
</div>
</body>
</html>

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,3k
    • Posts
      652,2k
×
×
  • Criar Novo...