Solved

GIF animation stop after load a new page in other form

Posted on 2001-07-04
6
159 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
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)

943 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

4 Experts available now in Live!

Get 1:1 Help Now