Solved

Spinning Gif isnt spinning!

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
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 …
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)

735 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