mirror of
https://github.com/its-michaelroy/Simple_Portfolio.git
synced 2026-06-03 23:00:43 +00:00
Added capcha, functionality for senidng emails, and refactored code for the images to go to LiveCode/url and Github code if unavailable
This commit is contained in:
@@ -87,22 +87,22 @@
|
||||
|
||||
// Main Sections: Two.
|
||||
|
||||
// Lightbox gallery.
|
||||
$window.on("load", function () {
|
||||
$("#two").poptrox({
|
||||
caption: function ($a) {
|
||||
return $a.next("h3").text();
|
||||
},
|
||||
overlayColor: "#2c2c2c",
|
||||
overlayOpacity: 0.85,
|
||||
popupCloserText: "",
|
||||
popupLoaderText: "",
|
||||
selector: ".work-item a.image",
|
||||
usePopupCaption: true,
|
||||
usePopupDefaultStyling: false,
|
||||
usePopupEasyClose: false,
|
||||
usePopupNav: true,
|
||||
windowMargin: breakpoints.active("<=small") ? 0 : 50,
|
||||
});
|
||||
});
|
||||
// // Lightbox gallery.
|
||||
// $window.on("load", function () {
|
||||
// $("#two").poptrox({
|
||||
// caption: function ($a) {
|
||||
// return $a.next("h3").text();
|
||||
// },
|
||||
// overlayColor: "#2c2c2c",
|
||||
// overlayOpacity: 0.85,
|
||||
// popupCloserText: "",
|
||||
// popupLoaderText: "",
|
||||
// selector: ".work-item a.image",
|
||||
// usePopupCaption: true,
|
||||
// usePopupDefaultStyling: false,
|
||||
// usePopupEasyClose: false,
|
||||
// usePopupNav: true,
|
||||
// windowMargin: breakpoints.active("<=small") ? 0 : 50,
|
||||
// });
|
||||
// });
|
||||
})(jQuery);
|
||||
|
||||
Reference in New Issue
Block a user