This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xFC3B725b55fb4Bc5faA5D680647Ade288d9d20f0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Photos | |
app.get('/photos', function (req, res, next) { | |
var view = {}; | |
fs.readdir('./public/img/slideshow', function(err, files) { | |
var re = /\.(gif|jpg|jpeg|tiff|png)$/i; | |
var list = files.filter(function (file) { | |
return re.test(file); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
setTimeout(function() { | |
transition("col1") | |
}, 2000); | |
}); | |
function transition (id) { | |
var id = '#' + id; | |
$(id + ':first-child').fadeOut('fast', function() { |