Skip to content

Commit

Permalink
add lightbox
Browse files Browse the repository at this point in the history
add lightbox
  • Loading branch information
yanyiyi committed Sep 18, 2018
1 parent b76ce24 commit ae6d5aa
Show file tree
Hide file tree
Showing 9 changed files with 538 additions and 1 deletion.
1 change: 1 addition & 0 deletions css/lightbox.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added img/close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/loading.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/next.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/prev.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion js/liMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ $.getJSON('https://spreadsheets.google.com/feeds/list/1eUgqe2z8gL1d9GrY2LwpAAxW9
var pTime = photoLog.feed.entry[k].gsx$time.$t;
var pFileid = photoLog.feed.entry[k].gsx$fileid.$t;
console.log(pID, pEvent, pPoint, pTime);
$("#oldPhoto").append("<div class='oPhotos'><div class='oImg'><img src='./img/oldphoto/" + pID + "/" + pFileid + ".jpg'/></div><div class='oContent'>" + pEvent + "<br/><span class='pWid'>" + pPoint + "・" + pTime + "</span></div></div>");
$("#oldPhoto").append("<a class='oPhotos' data-lightbox='example-set' data-title='" + pEvent + "・" + pPoint + "・" + pTime + "' href='./img/oldphoto/" + pID + "/" + pFileid + ".jpg' ><div class='oImg'><img src='./img/oldphoto/" + pID + "/" + pFileid + ".jpg'/></div><div class='oContent'>" + pEvent + "<br/><span class='pWid'>" + pPoint + "・" + pTime + "</span></div></a>");
}
}
}); //end of photoLog
Expand Down
Loading

0 comments on commit ae6d5aa

Please sign in to comment.