Reply to Re: loading screen

Your name:

Reply:


Posted by Laurent Haan on 10/25/06 20:04

This effect can't be realised by only using PHP, since PHP is a
server-side language and the loading screen appears client side.
Yet, it is possible to achieve such an effect by using javascript and
CSS and having php invoke the necessary functions to enable/disable the
loading screen.

What you need to do is design the loading screen in css and hide it
initially. As soon as you start the section in php where the loading
screen is ment for, you send the html code to the client that invokes
the javascript function that displays the loading screen. Finally, at
the end of the php script, you send the invokation to the javascript
function that hides the loading screen again.

I hope this helps.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация