$("#fancybox-photos").html(""); $("#fancybox-photos").append("<a class=\"fancybox\" id=\"project-photo-98\" data-fancybox=\"photos\" data-id=\"98\" href=\"/uploads/images/98/large/Residentie_Coin_d_Or_Interieur_Beeld_1_-_Definitief_Werfbord.jpg?1507744572\"><\/a>"); $("#fancybox-photos").append("<a class=\"fancybox\" id=\"project-photo-83\" data-fancybox=\"photos\" data-id=\"83\" href=\"/uploads/images/83/large/Residentie_Coin_d_Or_-_Definitief_Print.jpg?1507744555\"><\/a>"); $("#fancybox-photos").append("<a class=\"fancybox\" id=\"project-photo-90\" data-fancybox=\"photos\" data-id=\"90\" href=\"/uploads/images/90/large/Residentie_Coin_d_Or_005.jpg?1507744568\"><\/a>"); $("#fancybox-photos").append("<a class=\"fancybox\" id=\"project-photo-100\" data-fancybox=\"photos\" data-id=\"100\" href=\"/uploads/images/100/large/Residentie_Coin_d_Or_Interieur_Beeld_2_-_Definitief_Werfbord.jpg?1507744578\"><\/a>"); $("#fancybox-photos").append("<a class=\"fancybox\" id=\"project-photo-93\" data-fancybox=\"photos\" data-id=\"93\" href=\"/uploads/images/93/large/Residentie_Coin_d_Or_009.jpg?1507744569\"><\/a>"); $("#fancybox-photos").append("<a class=\"fancybox\" id=\"project-photo-89\" data-fancybox=\"photos\" data-id=\"89\" href=\"/uploads/images/89/large/Residentie_Coin_d_Or_004.jpg?1507744568\"><\/a>"); $("#fancybox-photos").append("<a class=\"fancybox\" id=\"project-photo-85\" data-fancybox=\"photos\" data-id=\"85\" href=\"/uploads/images/85/large/Residentie_Coin_d_Or_-_Definitief_Werfbord.jpg?1507744561\"><\/a>"); $("#fancybox-photos .fancybox").fancybox(); $("#fancybox-photos .fancybox:first").click();