Solved

GIF animation stop after load a new page in other form

Posted on 2001-07-04
6
157 Views
Last Modified: 2013-11-19
I have a page at legochina.virtualave.net, after I click "back" or "next" button in the bottom form to load a new page in middle form, the GIF animation in bottom form will stop animation, I don't know why, if I reload bottom frame, animation is ok, so may I need to reload bottom form when I load new page into middle form?
0
Comment
Question by:mikezang
6 Comments
 
LVL 5

Expert Comment

by:nilapenn
ID: 6254187
Instead of reloading what you can do is in the back and next button add the following script

document.images[0].src=document.images[0].src

replace zero with the number of your picture
0
 
LVL 5

Author Comment

by:mikezang
ID: 6254368
I am sorry, can you explain in detail? did you check my page? there are several GIFs animation, how can I add that script?
0
 
LVL 22

Accepted Solution

by:
CJ_S earned 50 total points
ID: 6254562
Okay you are using javascript to change the page, and are not returning false!

Add a return false to the end of the onCLick:
<a href="..." onClick="...;return false">

Regards,
CJ
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 6254679
LOL
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 6254693
Bad news if the href is a normal href ;-)

If you have
<a href="page2.html" target="middle">Next</a>
you need

<a href="page2.html" target="middle" onClick="parent.middle.location=this.href; return false">Next</a>

Points to CJ btw because the solution lies in  the return false

Michel
0
 
LVL 5

Author Comment

by:mikezang
ID: 6254701
Thank you very much!
Maybe I should remember this, but I forgot it as I haven't make homepgae for long time. :( - :)

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

705 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

20 Experts available now in Live!

Get 1:1 Help Now