dit is de pagina |
<html>
<head>
<style>
#beeld {position: absolute; left: 200px; top: opx;}
#flash {position: absolute; left: -1000px; top: -1000px;}
#txt {
position: absolute; left: 200px; top: 300px; scrolling: auto; width: 384px; height: 196px;
font-family: arial;
font-size: 11px;
color: #333333;
overflow: auto;
}
#buttons {
position: absolute; left: 200px; top: 500px;
font-family: arial;
font-size: 11px;
color: #333333;
width: 500px;
}
#buttons A {
text-decoration: none;
font-family: arial;
font-size: 11px;
color: red;
}
#buttons A:hover {
color: #333333;
}
</style>
<title>promo Mambapoint.tv</title>
</head>
<body onload="motor()">
<script src="nienke.js" type="text/javascript" language="Javascript"></script>
<script type="text/javascript" language="Javascript">
<!--
// naam-map, basis-naam-beeld, aantal-beelden 8, seconden per beeld 3, breedte, hoogte
slideshow("mappromomamba","promomamba",6,3,384,288, "promomamba.swf")
makepage()
//-->
</script>
<div id="txt">
promo Mambapoint.tv (NCRV 2008)<br><br>
script, regie, camera en montage<br><br>
Mambapoint.tv is het crossmediale platform van de NCRV voor, over en van kleinschalige internationale ontwikkelingsprojecten.<br>
Wekelijks maakt de redactie een uitzending over een kleinschalig ontwikkelingsproject. De reportages gaan over mensen hier, die laten zien dat samenwerken met mensen daar spannend en avontuurlijk is, leuk en leerzaam, grappig en inspirerend Ð en dat het nog zin heeft en zin geeft ook. Hoop en humor zetten de toon in nieuws en informatie over internationale samenwerking.
De uitzending is te zien op internet en op het digitale themakanaal van de NCRV: 'Spirit 24' <br>
</div>
<div id="buttons">
<nobr>
<a href="javascript:showmovie()">play video</a>
|
<a href="../main.html">go home</a>
|
<a href="http://www.e.nl/pages/pagethemamambapoint.html">next in video in opdracht</a>
</nobr>
</div>
</body>
</html>
en dit is het JS script:
// 1k DHTML API
d=document;l=(d.layers)?1:0;op=navigator.userAgent.toLowerCase().indexOf('opera')!=-1;
function gE(e,f){if(l){f=(f)?f:self;var V=f.document.layers;if(V[e])return V[e];for(var W=0;W<V.length

t=gE(e,V[W++]);return t;}if(d.all)return d.all[e];return d.getElementById(e);}
function sE(e){if(l)e.visibility='show';else e.style.visibility='visible';}
function hE(e){if(l)e.visibility='hide';else e.style.visibility='hidden';}
function sZ(e,z){if(l)e.zIndex=z;else e.style.zIndex=z;}
function sX(e,x){if(l)e.left=x;else if(op)e.style.pixelLeft=x;else e.style.left=x;}
function sY(e,y){if(l)e.top=y;else if(op)e.style.pixelTop=y;else e.style.top=y;}
function sW(e,w){if(l)e.clip.width=w;else if(op)e.style.pixelWidth=w;else e.style.width=w;}
function sH(e,h){if(l)e.clip.height=h;else if(op)e.style.pixelHeight=h;else e.style.height=h;}
function sC(e,t,r,b,x){if(l){X=e.clip;X.top=t;X.right=r;X.bottom=b;X.left=x;}else e.style.clip='rect('+t+' '+r+' '+b+' '+x+')';}
function wH(e,h){if(l){Y=e.document;Y.write(h);Y.close();}if(e.innerHTML)e.innerHTML=h;}
// findPos:
www.quirksmode.org/js/findpos.html
function findPosX(obj){var curleft = 0; if (obj.offsetParent){while (obj.offsetParent){curleft += obj.offsetLeft;obj = obj.offsetParent;}} else if (obj.x){curleft += obj.x;}; return curleft;}
function findPosY(obj){var curtop = 0;if (obj.offsetParent){while (obj.offsetParent){curtop += obj.offsetTop;obj = obj.offsetParent;}}else if (obj.y){curtop += obj.y;}; return curtop;}
function findWidth(obj) {if(obj.offsetWidth || navigator.appVersion.toLowerCase().indexOf('safari')!=-1){return obj.offsetWidth}else{return obj.clip.width}};
function findHeight(obj) {if(obj.offsetHeight || navigator.appVersion.toLowerCase().indexOf('safari')!=-1){return obj.offsetHeight}else{return obj.clip.height}};
var appvers=parseInt(navigator.appVersion)
function newWin(URL,theName,menu,tool,loca,dirs,stats,scrolls,resiz,wid,hei){if(theName!=""){
lefti=0; topi=0;
if (appvers>3) {
lefti = (screen.width) ? (screen.width-wid)/2 : 0;
topi = (screen.height) ? (screen.height-hei)/2 : 0;
}
showWin=window.open(URL,theName,'menubar='+menu+',toolbar='+tool+',location='+loca+',directories='+dirs+',status='+stats+',scrollbars='+scrolls+',resizable='+resiz+',top='+topi+',left='+lefti+',width='+wid+',height='+hei+''); if (showWin.focus) {showWin.focus()};}};
function popup(uri,nam) {newWin(uri,nam,1,0,0,0,1,1,1,480,360)}
function rRand(send){return(Math.ceil(Math.random()*send))};
var NS, IE
var winX=0;var winY=0;
if(navigator.appName == "Netscape") {NS=true;winX = window.innerWidth;winY = window.innerHeight;}
else {IE=true; winX = document.body.clientWidth;winY = document.body.clientHeight;}
if (winX==0 && winY==0) {winX=parent.window.innerWidth; winY=parent.window.innerHeight}
//winX=(parent.window.innerWidth)
var resX=winX/2
var resY=winY/2
if (NS) {document.captureEvents(Event.MOUSEMOVE);}
document.onmousemove = printEvent;
function printEvent(e) {if (IE){resX = event.clientX;resY = event.clientY;} else {resX = e.pageX;resY = e.pageY;}
//window.status=resX+' '+resY;
}
function resizeme() {if (NS) {document.location.href = document.location.href;}}
var curwork=0
function choose(i) {n=i-1; curwork=i;
writeimage(folders[n]+'/images/'+srcs[n],ws[n],hs[n],titels[n])
}
function writeimage(fil,wid,hei,tit) {curW=wid; curH=hei;
z=gE('content');
sX(z,-3000); sY(z,-3000);
txt='<a href="javascript:hideimg()"><img onload="center()" src="'+fil+'" wid='+wid+' hei='+hei+' border=0><\/a>';
txt+='<br>'+tit
txt+='<br><a href="javascript:next()">next<\/a>'
wH(z,txt); //sZ(z,oldz); oldz++
sW(z,wid);
z=gE("loader"); //sE(z);
sX(z,0); sY(z,0);
//center();
}
function center() {//alert("center?")
z=gE('content');
hh=findHeight(z);
sX(z,(winX-curW)/2); sY(z,(winY-hh)/2);
z=gE("loader"); //hE(z);
sX(z,-3000); sY(z,-3000);
}
function hideimg() {
z=gE('content'); sX(z,-3000); sY(z,-3000);
}
function next() {curkind=folders[curwork-1]; curwork++
if (folders[curwork-1]!=curkind) {curwork=findfirst(curkind)}
choose(curwork);
}
function last() {
}
function findfirst(which) {
for (i=0;i<srcs.length;i++) {
if (folders
==which) {return i+1}
}
}
var stat="sliding"
var engine=0;
var curimg=0;
var pad, naam, cnt, delay, wid, hei,swf
function slideshow(path, basename , count, del, thewid, thehei,fla) {
if (path!="") {path+="/"};
pad=path; naam=basename; cnt=count; delay=del*1000; wid=thewid; hei=thehei; swf=fla;
}
//function init() {motor();
//engine=setTimeout("motor()",delay);
//}
function motor() {window.status=new Date();
clearTimeout(engine);
curimg+=1;
if (curimg>cnt) {curimg=1};
document.debeeld.src = pad+naam+curimg+'.jpg';
engine=setTimeout("motor()",delay)
}
function makepage() {
beeldnaam=pad+naam+'1.jpg';
txt='<DIV ID="beeld"><IMG WIDTH="'+wid+'" HEIGHT="'+hei+'" NAME="debeeld" SRC="'+beeldnaam+'"><\/DIV>';
txt+='<DIV ID="flash">...<\/DIV>';
//txt+='<a href="javascript:showmovie()">SHOW MOVIE<\/A>'
document.writeln(txt);
}
function showmovie() {z=gE("flash");
if (stat!="video") {
pado="http://www.e.nl/movies/"+swf
y=gE("beeld");
txt='<OBJECT classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+wid+'" HEIGHT="'+hei+'" id="tom3" ALIGN=""><PARAM NAME=movie VALUE="'+pado+'"> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=exactfit> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="'+pado+'" quality=high bgcolor=#FFFFFF SCALE="exactfit" WIDTH="'+wid+'" HEIGHT="'+hei+'" NAME="tom3" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"><\/EMBED><\/OBJECT>';
xx=findPosX(y); yy=findPosY(y)
wH(z,txt); sX(z,xx), sY(z,yy); //alert(xx+' '+yy);
clearTimeout(engine);
stat="video"
} else {
wH(z,"..."); sX(z,-1000); stat="sliding"; motor();
}
}
mis je nog steeds iets???