khalamuntu
asked on
Image.src error on reload
Hi,
I am using frames and I am dynamically loading an image to a remote frame like this:-
---
parent.topFrame.titlePic.s rc='images /titleHome .gif'
---
This works fine on IE6 until the document is reloaded, then I get this error
---
parent.topFrame.titlePic is null or not an object.
---
In FireFox the image is not even swapped at all, regardless of whether the page is reloaded or loading for the first time.
There is obviously something I am not doing right for both browsers.
Please show me the light!
!k*
I am using frames and I am dynamically loading an image to a remote frame like this:-
---
parent.topFrame.titlePic.s
---
This works fine on IE6 until the document is reloaded, then I get this error
---
parent.topFrame.titlePic is null or not an object.
---
In FireFox the image is not even swapped at all, regardless of whether the page is reloaded or loading for the first time.
There is obviously something I am not doing right for both browsers.
Please show me the light!
!k*
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Of course, you are right!
Thanks to both of you. I have increased the points so that you can share.
Later
!k*
Thanks to both of you. I have increased the points so that you can share.
Later
!k*
ASKER
You were right, it worked for FireFox, but I still have the IE problem.
Thanks a million, though!
!k*