182
rated 0 times
[
184]
[
2]
/ answers: 1 / hits: 15894
/ 11 Years ago, thu, march 28, 2013, 12:00:00
I am trying to essentially create a ticker which shows a single string item taken from an array at a time. Basically I just want it to show a single item and then transition into the next, my Javascript skills are massively rudimentary (Jquery might be better for this.)
Here is my code:
var title= ['Orange', 'Apple', 'Mango', 'Airplane', 'Kiwi'];
for (var i=0; i<title.length; i++){
document.write(title[i]);
}
What do I have to add?
Thanks a bunch!
More From » arrays