Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<!DOCTYPE html>
<html>
<head>
<title>Фотоалбум</title>
<link href="album/style.css" rel="stylesheet" type="text/css" media="all" />
<link href="album/colorbox/colorbox.css" rel="stylesheet" type="text/css" media="screen" />
<script src="album/colorbox/jquery.colorbox-min.js"></script>
<script src="album/jflickrfeed.min.js"></script>
<script src="album/setup.js"></script>
</head>
<body>
<ul id="cbox" class="thumbs"></ul>
</body>
</html>
$(document).ready(function(){
$('#cbox').jflickrfeed({
limit: 25,
qstrings: {
id: '******@***'
},
itemTemplate: '<li>'+
'<a rel="colorbox" href="{{image}}" title="{{title}}">' +
'<img src="{{image_s}}" alt="{{title}}" />' +
'</a>' +
'</li>'
}, function(data) {
$('#cbox a').colorbox();
});
});