<img name="myPict" src="firstPict.gif">
and that works okay, that is, firstPict is visible.
What could be wrong? How about Firefox? Would it work in Firefox?
Please be sure to use code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.
You can go back and change your post to add code tags by clicking the button on your post.
Thanks for the help, everyone. I followed the advice and things work fine. Also, I picked up on something that no one else seemed to notice. I noticed that Safari did not even run the function drg, and as soon as I changed the name of the function to xxx, Safari ran it. So I wonder if drg is a reserved word that means something to Safari and you can't use it to name a function.
Maybe it means 'degree' or 'drag' or something like that.
posted 10 years ago
drg is not a servered word.
Do you have an element on the page named drg or an element named drg? SOmetimes certain browsers flood the global namespace with them.
Stop it! You're embarassing me! And you are embarrassing this tiny ad!