Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Spinning Gif isnt spinning!

Posted on 2011-09-22
1
584 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Find out what you should include to make the best professional email signature for your organization.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

809 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