Solved

Spinning Gif isnt spinning!

Posted on 2011-09-22
1
582 Views
Last Modified: 2012-05-12
Hi,

I created a spinning circle gif (attached)
In my asp.net 3.5 application, i do a post to another website, i have a page that spits out the following html - which references my Gif.

<html><head><title>My redirect page</title></head><body onload='document.MicrositeResponse.submit();'><form action='http://myurl' method='post' id='MicrositeResponse' name='MicrositeResponse'><input type='hidden' id='MicrositeData' value='MyBase64Data' name='MicrositeData'/><p style='padding-left:43%; padding-right:43%;'><img src='../Images/MySpinningCircle.gif' alt='Spinning circle'/></p><p style='padding-left:20%; padding-right:20%;color: #333333; font-size: 1.0em; line-height: 1.5em; font-family: Arial,Helvetica,sans-serif; '>You should be redirected, if you see this page for more than a few seconds please <input type='submit' style=' background: url(../Images/tabGradientButton.gif) repeat-x scroll center bottom transparent; border: 1px solid #000000; margin: 2px 0 2px 5px;overflow: visible; padding: 3px 3px 3px 3px;' value='click this button'/> to continue.</p></form></body></html>

Open in new window


When the redirect page is rendered - the gif doesnt spin.
However, when i just created a standalone static html page (whith the same html) the gif does spin.

(I have tried it in firefox 6.2 and i.e 7 and 8.)

How can I fix this please?
Thanks
0
Comment
Question by:MrKevorkian
1 Comment
 
LVL 1

Accepted Solution

by:
MrKevorkian earned 0 total points
ID: 36579461
this always happens!  I just figured out how to do it.

basically onload i reload the gif again and it spins....

onload='document.MicrositeResponse.submit(); document.getElementById('waiting').src='../Images/MySpinningCircle.gif'

Open in new window

0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question