J
Joris Lambrecht
Hi people,
Please take a look at the issue i talk about below. (yes i do realise such
functions are publicaly available)
The page i'm using uses JSON defined array of image files with
information for the title property of the img tag.
The functions i wrote below are sort of working since it needs an alert()
to work the slides ???
function slideshow ( dbname ) {
var dspitem = document.getElementById("bodybox");
var fotodb = eval(dbname);
var item = 0;
var dblength = dbname.length -3 ;
content = "<img src=img/foto/"+fotodb.foto[item].picture+" title="+fotodb.foto[item].name+" width=100% height=540px>";
slider ();
function slider () {
for (item = 0; item <= dblength; item++){ dspitem.innerHTML = "<img src=img/foto/"+fotodb.foto[item].picture+" title="+fotodb.foto[item].name+" width=100% height=540px>";
alert('temporary failure');
}
setTimeout ("slider();", 500);
}
}
Thank you for your advice and consideration.
Joris
Please take a look at the issue i talk about below. (yes i do realise such
functions are publicaly available)
The page i'm using uses JSON defined array of image files with
information for the title property of the img tag.
The functions i wrote below are sort of working since it needs an alert()
to work the slides ???
function slideshow ( dbname ) {
var dspitem = document.getElementById("bodybox");
var fotodb = eval(dbname);
var item = 0;
var dblength = dbname.length -3 ;
content = "<img src=img/foto/"+fotodb.foto[item].picture+" title="+fotodb.foto[item].name+" width=100% height=540px>";
slider ();
function slider () {
for (item = 0; item <= dblength; item++){ dspitem.innerHTML = "<img src=img/foto/"+fotodb.foto[item].picture+" title="+fotodb.foto[item].name+" width=100% height=540px>";
alert('temporary failure');
}
setTimeout ("slider();", 500);
}
}
Thank you for your advice and consideration.
Joris