Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Spinning Gif isnt spinning!

Posted on 2011-09-22
1
Medium Priority
?
593 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
[X]
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
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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

610 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