html structure draft and first try of js time laps
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
$imgs = glob("pictures/*.jpg");
|
||||
|
||||
foreach ($imgs as $key => $value):
|
||||
$class = "frame frame-$key";
|
||||
if($key == 0) $class .= " current";
|
||||
?>
|
||||
|
||||
<div class="<?php print $class; ?>" style="background-image:url('<?php print $value ?>');" alt="" /></div>
|
||||
|
||||
<?php endforeach;
|
||||
Reference in New Issue
Block a user