Gif Image not animating please help ......

S

sridev

hi all,

In my aspx page i have used div tag.In that div tag i designed a
table with one cell in it.And the cell contains an html Image control
with name property set.Like this

<div class="PopUptransparent" id="Test">
<TABLE class="PopupTable" id="PopupTable" height="500" cellSpacing="0"
cellPadding="0"
width="770" align="center" bgColor="white" border="0">
<tr>
<td vAlign="middle" align="center"><img name="ImgReal"></td>
</tr>
</TABLE>
</div>

Now wt i do is that i have another page where i have a button.When i
click the button i call a javascript which will display the div
tag.Initially i have set the div tag display = none.

The javascript function look like this

function Start()
{
ImgReal.src = "Images/General/FindingHotels_1_1.gif";
Test.style.display="block";
Test.style.position= "absolute";
Test.style.left = 500;
Test.style.top = 100;
window.setTimeout("EndAnimation()",10000);
}
function EndAnimation()
{
Test.style.display='none';
}

problem is that when i click the button the div tag is displayed for
10,000 millisecond but the gif image is not animating.What i want is
that the gif image should animate... for particular amount of time and
after the time is over it will be redirected to another page .what
shall i do ....

Please help me....

Thank u in advance

with regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top