Ok so I have researched this problem and am confused. What I want do is have a caption in a <div> under a picture be changable. So I have this:
But it only works in FF if I put a space in the original <div> and it doesn't work in IE at all. Don't get it. What do I need to do?
The full page is here.
Thanks for any help.
Code:
<div id="Caption" style="color: rgb(51,51,102); font-family: Verdana; font-size: 90%; text-align: center"></div>
<script type="text/javascript"> //Set Caption- use abs to avoid array error with three digit variable
document.getElementById("Caption").childNodes[0].nodeValue = Captions[Math.abs(i)];
</script>
The full page is here.
Thanks for any help.
Comment