hi, am working on a php site, i need a functionality where titles of last four posts would show up, i know how to get last four titles. but dont know how to make them blink one by one on same place,like i have four titles name A B C D, first [A] then A should disappear and B will take place of A i.e. . hope i made myself clear, please help if anybody know how to do it?
its like text flashing up in rss feed, your last 5 or 6 posts show up one by one.
var current = 0;
var textElems = document.getElementById('container').getElementsByTagName('div');
current = current < 3 ? current + 1 : 0;
for(var i in textElems)
textElems[i].style.display = i == current ? 'block' : 'none';
ok its like this, i have 3 images but place of only one image , so what i want that all three images should show up one by one at same place, hope its clear now, m not so good at java-script etc, so please if anybody can provide a proper code, please, thanks