hallo
ik wil van m'n centrale foto van m'n site een slideshow maken zodat er nog andere afbeeldingen komen.
Ik had al hier op het forum wat code gezien maar als ik die toepas lijkt alles wat te verschuiven op m'n site en komt er geen slideshow. Wat doe ik verkeerd.
Dit is de code uit m'n body waar de centrale foto staat
<tr>
<td height="548"></td>
<td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="8" height="548"> </td>
<td width="520" valign="top"><img src="bigstockphoto_Hand_Pointing_Text_On_Book_520x548blur_grad.JPG" width="520" height="548"></td>
</tr>
</table></td>
</tr>
en dit is wat ik als 'script' had om toe te voegen.
<SCRIPT LANGUAGE="JavaScript">
var slide = new Array();
slide[0] = "wedding_520x548.JPG";
slide[1] = "houseplans_520x548.JPG";
slide[2] = "app_520x548.JPG";
slide[3] = "business deal_520x548.JPG";
slide[4] = "businesswoman_520x548.JPG";
slide[5] = "courthouseantwerp_520x548.JPG";
slide[6] = "business hall_520x548.JPG";
var current = 0;
function advance(){
current++;
if(slide[current]){document.images.show.src = slide[current];
window.status='Slide '+(current+1)+' of '+slide.length+': '+slide[current];}
}
function retract(){
current--;
if(slide[current]){document.images.show.src = slide[current];
window.status='Slide '+(current+1)+' of '+slide.length+': '+slide[current];}
}
var the_show = "";
function startShow() {
the_show = setInterval("advance();",5000);
};
Mis ik nog iets of is het verkeerd om dit script direct achter de laatste tr van m'n centrale foto te plaatsen.
ik wil van m'n centrale foto van m'n site een slideshow maken zodat er nog andere afbeeldingen komen.
Ik had al hier op het forum wat code gezien maar als ik die toepas lijkt alles wat te verschuiven op m'n site en komt er geen slideshow. Wat doe ik verkeerd.
Dit is de code uit m'n body waar de centrale foto staat
<tr>
<td height="548"></td>
<td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="8" height="548"> </td>
<td width="520" valign="top"><img src="bigstockphoto_Hand_Pointing_Text_On_Book_520x548blur_grad.JPG" width="520" height="548"></td>
</tr>
</table></td>
</tr>
en dit is wat ik als 'script' had om toe te voegen.
<SCRIPT LANGUAGE="JavaScript">
var slide = new Array();
slide[0] = "wedding_520x548.JPG";
slide[1] = "houseplans_520x548.JPG";
slide[2] = "app_520x548.JPG";
slide[3] = "business deal_520x548.JPG";
slide[4] = "businesswoman_520x548.JPG";
slide[5] = "courthouseantwerp_520x548.JPG";
slide[6] = "business hall_520x548.JPG";
var current = 0;
function advance(){
current++;
if(slide[current]){document.images.show.src = slide[current];
window.status='Slide '+(current+1)+' of '+slide.length+': '+slide[current];}
}
function retract(){
current--;
if(slide[current]){document.images.show.src = slide[current];
window.status='Slide '+(current+1)+' of '+slide.length+': '+slide[current];}
}
var the_show = "";
function startShow() {
the_show = setInterval("advance();",5000);
};
Mis ik nog iets of is het verkeerd om dit script direct achter de laatste tr van m'n centrale foto te plaatsen.