/
index.html
35 lines (33 loc) · 1018 Bytes
/
index.html
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
34
35
<html>
<head>
<link href="css/fancybox.css" rel="stylesheet">
<link href="css/demo.css" rel="stylesheet">
<script src="js/jquery.js"></script>
<script src="js/jquery-fancybox.js"></script>
<script src="js/jquery-flickr.js"></script>
<script>
var api_key = "ceedea54d4a6a93de57f7f0f8b448106"
$(function(){
$("#photos").flickrGallery(api_key)
//$("#photos").flickrGallery(api_key, { size: 30, fancybox_options: {} })
})
</script>
</head>
<body>
<h2>jQueryFlickr</h2>
<h3>demo</h3>
<div id="photos" data-set_id="72157625778631893"></div>
<p>html:</p>
<textarea>
<div id="photos" data-set_id="72157625778631893"></div>
</textarea>
<p>js:</p>
<textarea>
var api_key = "ceedea54d4a6a93de57f7f0f8b448106"
$(function(){
$("#photos").flickrGallery(api_key)
//$("#photos").flickrGallery(api_key, { size: 30, fancybox_options: {} })
})
</textarea>
</body>
</html>