Process behind animation

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
User avatar
New php-forum User
New php-forum User
Posts: 156
Joined: Wed Mar 22, 2006 2:22 am
Location: Ahmedabad, Gujarat, India

Wed Mar 22, 2006 8:03 pm


I want to make program like when I attache a file and while attaching a file one animation should be run.
In back end process code execute for attaching file.
I want same like yahoo.
In yahoo, when a file going to be attach, an animation executes and after attaching a file it displays a next page.

Can anybody help me?

I want this script in PHP 4.3.2 and MySql.

Mukesh Variya
Zend Framework and Offshore Web Developer Ahmedabad Gujarat India
Customize Application Development Ahmedabad Gujarat India
2 PR Blog Link Exchange with my blog

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2213
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län

Sat Apr 01, 2006 10:48 am

try doing it with Ajax
you can asyncroniously run an animation while something is being done in the BG..
Best Regards,
Alexej Kubarev
Zend Certified Engineer
Image Image

New php-forum User
New php-forum User
Posts: 243
Joined: Wed Feb 01, 2006 9:18 am
Location: Netherlands

Sun Apr 02, 2006 6:29 am

If it's using the file upload features of HTML/PHP, the time you're waiting is actually the time it takes to send the file to the server. Just show an animated gif or flashmovie as soon as someone clicks on "submit". As soon as the file is sent, the next page is loaded. You can use DHTML to display the animation.


User avatar
Posts: 1716
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden

Sun Apr 02, 2006 4:01 pm

This simple javascript function can give you some hints about it:

Code: Select all

function load(url) {
     window.location = url; ='wait'; 
     window.status = "Loading...";
Gonçalo "gesf" Fontoura | |

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest