ISPrincess
Programmer
I have an asp page where in the Page_OnSubmit Function written in VBScript - I want to set the inner html of a Div tag that is already present on the page:
<Div align=center id='Patty' name='Patty'>
</Div>
The code to display an animated gif is as follows:
<SCRIPT LANGUAGE="VBScript">
Function Alert_OnSubmit
Patty.innerHTML = "<img src=ani28t.gif><Font face=Fantacy color=DarkBlue><B> Processing...</B></Font>"
end function
</Script>
All works fine when I run this on my local web server.
But when I run it on company web server (non-local)
The verbage "Processing..." appears correctly but the graphic does not.
I have determined:
- The gif is not corrupt
- The same thing happens on a non-animated gif
- Animated gifs appear correctly on the web server if not in 'innerhtml'
- happens in ie 5 and 6
- also happens when someone else uses my web server - in other words - it seems to happen when we are NOT running local
I have searched all over the web for an answer but to no avail. But from what I see, any postings where people are using img in innerhtml - they are also using java.
I do not know how to write my vb script function in java if that is the problem. Which I do not think it is.
Does anyone know what the problem may be?
Does anyone have any other debugging tips?
Help! (and thanks!)
<Div align=center id='Patty' name='Patty'>
</Div>
The code to display an animated gif is as follows:
<SCRIPT LANGUAGE="VBScript">
Function Alert_OnSubmit
Patty.innerHTML = "<img src=ani28t.gif><Font face=Fantacy color=DarkBlue><B> Processing...</B></Font>"
end function
</Script>
All works fine when I run this on my local web server.
But when I run it on company web server (non-local)
The verbage "Processing..." appears correctly but the graphic does not.
I have determined:
- The gif is not corrupt
- The same thing happens on a non-animated gif
- Animated gifs appear correctly on the web server if not in 'innerhtml'
- happens in ie 5 and 6
- also happens when someone else uses my web server - in other words - it seems to happen when we are NOT running local
I have searched all over the web for an answer but to no avail. But from what I see, any postings where people are using img in innerhtml - they are also using java.
I do not know how to write my vb script function in java if that is the problem. Which I do not think it is.
Does anyone know what the problem may be?
Does anyone have any other debugging tips?
Help! (and thanks!)