PDA

View Full Version : DW timeline edit - HOW?


olsen
09-30-2012, 10:15 AM
Hi - I am beginning to be too old for this :) Have made a site years ago and now I have to edit/remove the timeline effects on it. I canīt remember how I did it that time - and as everybody know the timeline is not a part of DW in 5.5 as I use now.
Please help an old man. Thank You :roll:

domedia
10-01-2012, 12:57 PM
I don't think you can. It's completely outdated. :-/

olsen
10-02-2012, 05:42 AM
I don't think you can. It's completely outdated. :-/

Thank You. I do have read this answer. But it says " I think" meaning that there maybe was a possibility.
It must be possible to delete the effects - but I canīt get hold of the layer and its content. :?

d a v e
10-02-2012, 10:59 AM
could you try diggin in the code? (in code view)

domedia
10-02-2012, 12:59 PM
But it says " I think" meaning that there maybe was a possibility.

could you try diggin in the code? (in code view)
Yes, I would say that too. Get your hands dirty and get into the code.

olsen
10-16-2012, 11:39 AM
Yes, I would say that too. Get your hands dirty and get into the code.
Hi Dave.
Try to do it this way. Hope it is so you want it. Thank You.

<!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>Skt. Klemens Antenneforening</title>
<link href="css/forside.css" rel="stylesheet" type="text/css">
<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_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,p ropNum,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(2);
document.MM_Time["Timeline1"] = document.MM_Time[0];
document.MM_Time[0].MM_Name = "Timeline1";
document.MM_Time[0].fps = 12;
document.MM_Time[0][0] = new String("sprite");
document.MM_Time[0][0].slot = 1;
if (ns4)
document.MM_Time[0][0].obj = document["knapper01"];
else if (ns5)
document.MM_Time[0][0].obj = document.getElementById("knapper01");
else
document.MM_Time[0][0].obj = document.all ? document.all["knapper01"] : null;
document.MM_Time[0][0].keyFrames = new Array(1, 60);
document.MM_Time[0][0].values = new Array(3);
if (ns5 || macIE5)
document.MM_Time[0][0].values[0] = new Array("0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px");
else
document.MM_Time[0][0].values[0] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0);
document.MM_Time[0][0].values[0].prop = "left";
if (ns5 || macIE5)
document.MM_Time[0][0].values[1] = new Array("-196px", "-191px", "-185px", "-180px", "-175px", "-169px", "-164px", "-159px", "-153px", "-148px", "-143px", "-137px", "-132px", "-127px", "-121px", "-116px", "-111px", "-106px", "-100px", "-95px", "-90px", "-84px", "-79px", "-74px", "-68px", "-63px", "-58px", "-52px", "-47px", "-42px", "-36px", "-31px", "-26px", "-20px", "-15px", "-10px", "-4px", "1px", "6px", "12px", "17px", "22px", "28px", "33px", "38px", "43px", "49px", "54px", "59px", "65px", "70px", "75px", "81px", "86px", "91px", "97px", "102px", "107px", "113px", "118px");
else
document.MM_Time[0][0].values[1] = new Array(-196,-191,-185,-180,-175,-169,-164,-159,-153,-148,-143,-137,-132,-127,-121,-116,-111,-106,-100,-95,-90,-84,-79,-74,-68,-63,-58,-52,-47,-42,-36,-31,-26,-20,-15,-10,-4,1,6,12,17,22,28,33,38,43,49,54,59,65,70,75,81,86 ,91,97,102,107,113,118);
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";
}
if (ns5 || macIE5)
document.MM_Time[0][0].values[2] = new Array("170px", "169px", "169px", "169px", "168px", "168px", "168px", "168px", "167px", "167px", "167px", "167px", "166px", "166px", "166px", "165px", "165px", "165px", "165px", "164px", "164px", "164px", "164px", "163px", "163px", "163px", "162px", "162px", "162px", "162px", "161px", "161px", "161px", "161px", "160px", "160px", "160px", "159px", "159px", "159px", "159px", "158px", "158px", "158px", "158px", "157px", "157px", "157px", "156px", "156px", "156px", "156px", "155px", "155px", "155px", "155px", "154px", "154px", "154px", "154px");
else
document.MM_Time[0][0].values[2] = new Array(170,169,169,169,168,168,168,168,167,167,167, 167,166,166,166,165,165,165,165,164,164,164,164,16 3,163,163,162,162,162,162,161,161,161,161,160,160, 160,159,159,159,159,158,158,158,158,157,157,157,15 6,156,156,156,155,155,155,155,154,154,154,154);
document.MM_Time[0][0].values[2].prop = "height";
if (!ns4)
document.MM_Time[0][0].values[2].prop2 = "style";
document.MM_Time[0][1] = new String("sprite");
document.MM_Time[0][1].slot = 2;
if (ns4)
document.MM_Time[0][1].obj = document["knapper02"];
else if (ns5)
document.MM_Time[0][1].obj = document.getElementById("knapper02");
else
document.MM_Time[0][1].obj = document.all ? document.all["knapper02"] : null;
document.MM_Time[0][1].keyFrames = new Array(1, 60);
document.MM_Time[0][1].values = new Array(3);
if (ns5 || macIE5)
document.MM_Time[0][1].values[0] = new Array("1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px", "1px");
else
document.MM_Time[0][1].values[0] = new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1);
document.MM_Time[0][1].values[0].prop = "left";
if (ns5 || macIE5)
document.MM_Time[0][1].values[1] = new Array("-182px", "-173px", "-165px", "-156px", "-148px", "-139px", "-131px", "-122px", "-114px", "-105px", "-97px", "-88px", "-80px", "-71px", "-63px", "-54px", "-46px", "-37px", "-29px", "-20px", "-12px", "-3px", "5px", "14px", "22px", "31px", "39px", "48px", "56px", "65px", "73px", "82px", "90px", "99px", "107px", "116px", "124px", "133px", "141px", "150px", "158px", "167px", "175px", "184px", "192px", "201px", "209px", "218px", "226px", "235px", "243px", "252px", "260px", "269px", "277px", "286px", "294px", "303px", "311px", "320px");
else
document.MM_Time[0][1].values[1] = new Array(-182,-173,-165,-156,-148,-139,-131,-122,-114,-105,-97,-88,-80,-71,-63,-54,-46,-37,-29,-20,-12,-3,5,14,22,31,39,48,56,65,73,82,90,99,107,116,124,1 33,141,150,158,167,175,184,192,201,209,218,226,235 ,243,252,260,269,277,286,294,303,311,320);
document.MM_Time[0][1].values[1].prop = "top";
if (!ns4) {
document.MM_Time[0][1].values[0].prop2 = "style";
document.MM_Time[0][1].values[1].prop2 = "style";
}
if (ns5 || macIE5)
document.MM_Time[0][1].values[2] = new Array("150px", "150px", "150px", "150px", "150px", "150px", "150px", "150px", "150px", "150px", "150px", "150px", "150px", "150px", "150px", "151px", "151px", "151px", "151px", "151px", "151px", "151px", "151px", "151px", "151px", "151px", "151px", "151px", "151px", "151px", "152px", "152px", "152px", "152px", "152px", "152px", "152px", "152px", "152px", "152px", "152px", "152px", "152px", "152px", "152px", "153px", "153px", "153px", "153px", "153px", "153px", "153px", "153px", "153px", "153px", "153px", "153px", "153px", "153px", "154px");
else
document.MM_Time[0][1].values[2] = new Array(150,150,150,150,150,150,150,150,150,150,150, 150,150,150,150,151,151,151,151,151,151,151,151,15 1,151,151,151,151,151,151,152,152,152,152,152,152, 152,152,152,152,152,152,152,152,152,153,153,153,15 3,153,153,153,153,153,153,153,153,153,153,154);
document.MM_Time[0][1].values[2].prop = "height";
if (!ns4)
document.MM_Time[0][1].values[2].prop2 = "style";
document.MM_Time[0].lastFrame = 60;
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_preloadImages('knapper/K.nyh_over.jpg','knapper/K.kanaler_over.jpg','knapper/K.inter_over.jpg','knapper/K,iptlf_over.jpg','knapper/K.abb_over.jpg','knapper/K.fore_over.jpg','knapper/K.konta_over.jpg','knapper/K.arkiv_over.jpg','knapper/K.forsy_over.jpg','knapper/P.skift_over.jpg');MM_timelinePlay('Timeline1')">

<embed src="lyd/2 morse4.mp3" width="2" height="2" hidden="true">
<div id="wrapper">
<div id="knapper01" style="left: 0px; top: 118px; height: 154px; ">
<div id="knap01">
<div align="center"><a href="nyheder.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','knapper/K.nyh_over.jpg',1)"><img src="knapper/K.nyh_up.jpg" name="Image1" width="154" height="154" border="0" id="Image1"></a></div>
</div>
<div id="knap02">
<div align="center"><a href="priser.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','knapper/K.kanaler_over.jpg',1)"><img src="knapper/K.kanaler_up.jpg" name="Image2" width="154" height="154" border="0" id="Image2"></a></div>
</div>
<div id="knap03">
<div align="center"><a href="internet.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','knapper/K.inter_over.jpg',1)"><img src="knapper/K.inter_up.jpg" name="Image3" width="154" height="154" border="0" id="Image3"></a></div>
</div>
<div id="knap04">
<div align="center"><a href="ip-tlf.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','knapper/K,iptlf_over.jpg',1)"><img src="knapper/K,iptlf_up.jpg" name="Image4" width="154" height="154" border="0" id="Image4"></a></div>
</div>
<div id="knap05">
<div align="center"><a href="priser.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','knapper/K.abb_over.jpg',1)"><img src="knapper/K.abb_up.jpg" name="Image5" width="154" height="154" border="0" id="Image5"></a></div>
</div>
</div>
<div id="knapper02" style="left: 1px; top: 320px; height: 154px; ">
<div id="knap06">
<div align="center"><a href="skift.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('pakkeskift','','knapper/P.skift_over.jpg',1)"><img src="file:///Users/jytteolsen/Desktop/SKAF/skaf.newsite/knapper/P.skift.jpg" name="pakkeskift" width="154" height="154" border="0" id="pakkeskift"></a></div>
</div>
<div id="knap07">
<div align="center"><a href="foreningen.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','knapper/K.fore_over.jpg',1)"><img src="knapper/K.fore_up.jpg" name="Image7" width="154" height="154" border="0" id="Image7"></a></div>
</div>
<div id="knap08">
<div align="center"><a href="kontakt.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','knapper/K.konta_over.jpg',1)"><img src="knapper/K.konta_up.jpg" name="Image8" width="154" height="154" border="0" id="Image8"></a></div>
</div>
<div id="knap09">
<div align="center"><a href="arkivsider/Arkivside.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image9','','knapper/K.arkiv_over.jpg',1)"><img src="knapper/K.arkiv_up.jpg" name="Image9" width="154" height="154" border="0" id="Image9"></a></div>
</div>
<div id="knap10">
<div align="center"><a href="omraade.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image10','','knapper/K.forsy_over.jpg',1)"><img src="knapper/K.forsy_up.jpg" name="Image10" width="154" height="154" border="0" id="Image10"></a></div>
</div>
</div>
</div>


</body></html>

d a v e
10-16-2012, 03:04 PM
er, hope you weren't expecting me to do it ;)

olsen
10-17-2012, 12:41 PM
er, hope you weren't expecting me to do it ;)
Hi Dave.
Why not? :grin:

domedia
10-17-2012, 03:06 PM
Hi Dave.
Why not? :grin:
Because he told you to do it yourself ;)