|
-
Jul 21st, 2004, 01:44 PM
#1
Thread Starter
Hyperactive Member
Load Picture
Is any way to load picture in background and show it after full loaded.
Thanks
-
Jul 21st, 2004, 02:48 PM
#2
Stuck in the 80s
Are you talking about preloading images so that the entire webpage shows up at once? If so, you're going to have to look into something like JavaScript. PHP is a server-side language and cannot preload an image on client-side.
-
Jul 23rd, 2004, 01:47 AM
#3
Hyperactive Member
How are you loading pictures ? Are you uisng fopen or something like that or just the img src thing ?
Thanks!
Tapan Bhanot,
CEO, Avis Software.
Website: www.avissoftware.com
-
Jul 25th, 2004, 09:10 AM
#4
Thread Starter
Hyperactive Member
I am using 'onmousemove' event to show 2nd picture but when mouse placed over this image the 2nd image start loading. user may not wait for load 2nd image.
u can check my site at www.southsurmacity.com and check my links on left side of page.
-
Jul 25th, 2004, 01:22 PM
#5
Stuck in the 80s
Preloading has to be done via JavaScript. PHP is server-side and cannot cache images on a user's computer.
-
Jul 25th, 2004, 08:58 PM
#6
Ex-Super Mod'rater
As The Hobo said this is a Javascript thing so would be better asked in that section of the forum .
Mind I've seen it done beofre in Javascript where the images get loaded into a image object but can't remember how it was doen sorry. As I said if you post this question in the HTML, Javascript,.... section you'll get a better response .
When your thread has been resolved please edit the original post in the thread (  )
and amend "-[RESOLVED]-" to the end of the title and change the icon to  , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|