IT.COM

Problem with PHP and preloading images?

Spaceship Spaceship
Watch
Impact
0
hey.. i have a preload image script... when i have the index.html opened.. the images preload fine.
(http://www.eeeep.com/purpleemu/index.html)

but wen i split up the site like this with php

<?
require('top.html');
?>

<?
require('content.html');
?>

<?
require('bottom.html');
?>

the preload images script fails to work... any idea why?
(http://www.eeeep.com/purpleemu/index.php)

thanks in advance

nick
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
can you post up your entired code of index.php please :)
 
0
•••
that is the entire code... =P

plus... i think isorted it now by changing 'achieve' to 'incude'

=)

nick
 
0
•••
Originally posted by crEA-tEch
that is the entire code... =P

plus... i think isorted it now by changing 'achieve' to 'incude'

=)

nick

oh right lol fair enough :D
 
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back