Solved

Spinning Gif isnt spinning!

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
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 Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now