-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
33 lines (33 loc) · 802 Bytes
/
index.php
File metadata and controls
33 lines (33 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
require('images.php');
?>
<!DOCTYPE html>
<html>
<head>
<title>imgBubble Jquery Plugin</title>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.1.1.min.js"></script>
<script src="imgBubble.js"></script>
<script>
$(document).ready(function () {
$('img').imgBubble({
'navWrapper': '#img_nav'
});
})
</script>
<link rel="stylesheet" href="demostyles.css"/>
</head>
<body>
<div id="img_nav"></div>
<div id="img_wrapper">
<?php
//include path here
$imagesPath = 'images';
$imagesArray = imgBubble::generateImages($imagesPath);
foreach ($imagesArray as $image) {
echo $image['file'];
}
?>
</div>
</body>
</html>