Thank you both, I have decided to use javascript, since afterall it is a slide show, so i am guaranteed to have javascript on, which to me seems more reliable than the various CSS interpretations.
I did run into a problem, and although this is a javascript question its in the same topic so i'll here..
HTML Code:
alert(document.getElementById('current-img').offsetHeight);
document.getElementById('current-img').src = img[i];
alert(document.getElementById('current-img').offsetHeight);
This is how I was swapping out the images, afte rthe fade in and fade out, but both above and below the image swap, it returns the same offset data, which is causing the javascript to not center properly. How do I solve this issue? The bottom alert should update to the newest image no?
Bookmarks