This is what I have and it loads fine and if I look at the html source code it's listing everything correctly.. It will NOT fire the overlay.. click on one of the video clips and nothing happens except it returns "http://localhost/#overlay"....
Suggestions?
Thanks!
<?php
$lines = file('modules/mod_test/files.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
foreach($lines as $line)
{
list($ol, $pic, $vid, $title) = explode('-', $line);
echo '<a href="#overlay" rel="#overlay'. $ol.'"><img src="/modules/mod_test/img/'. $pic .'" alt="picture here" /></a> '. $title.' <br />';
}
?>
<!-- overlays for videos -->
<?php
$lines = file('modules/mod_test/files.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
foreach($lines as $line)
{
list($ol, $pic, $vid, $title) = explode('-', $line);
echo '<div class="overlay" id="overlay' .$ol .'">';
echo "<a href='$url/clips/$vid'>";
echo "</div><br />";
}
?>