The Php reads all the picture elemnts in a given folder and fades them in/out while rotating them.
THIS WORKS FINE!
Then follows:
Code:
<div id="latestmarvel">
<h2><span>Latest News</span></h2>
<p>Please check our <a href="" onclick="change_content('maincontent', 'content/stgeorge.php');return false">Reccomended Sites</a>, because we add at least one great excavation site a month.</p>
</div>
</div>
That calls a DIV "maincontent" that get the changing pages of the site-the content.
One of those content pages stgeorge.php has a similiar image rotating function, that does not seem to work, can someone tell me what I'm doing wrong???
Code: stgeorge.php
<?
// Global Variables
$loc_image_dir = "$_SERVER[DOCUMENT_ROOT]/pv/imgs/content"; // directory on server
$loc_image_relative_path = '/pv/imgs/content'; // path to images relative to script