Hi all. I have an interesting problem. I have created a hype file that references images stored in hype resources directory. While only referenced once in the code, it makes the call in preview to the image 2 times, finding it once and not finding it the other time and that errors my code. Here is my code:
if (djiData.pt.indexOf("+") > -1 ) {
document.getElementById(“dowArrow1”).innerHTML = ‘reference to image tag UpArrow’;}
else {
document.getElementById(“dowArrow1”).innerHTML = ‘reference to image tag DownArrow’;}
In troubleshooting, I found that the extra image reference goes away if I remove the “.innerHTML”…but then the image won’t display. Help!
So, I have also found I have a filenaming/ directory path problem with my files. I’m learning…no spaces!! I’m not sure if this is related to my problem here, but I just thought I would toss that out there.