LindsEli Posted October 31, 2023 Posted October 31, 2023 Hi still trying to figure out! Right now the banner image just fades in but I want each photo to fade in THEN fade out, example, [1] Fade in, then fade out after 3 seconds, [2] fade in and then fade out after 3 seconds, etc the current code I am using is https://okra-vanilla-n2tn.squarespace.com/ the password is 123 /// Speech bubble fade in HOME PAGE #block-yui_3_17_2_1_1698099613340_5182 { animation: fade-me-in .5s; } @keyframes fade-me-in { 0% {opacity:0;} 80% {opacity:0;} 100% {opacity:1;} } #block-8222289d31284ba440d5 { animation: fade-me-in 1.0s; } @keyframes fade-me-in { 0% {opacity:0;} 80% {opacity:0;} 100% {opacity:1;} } #block-7b78518b2a6909733fe1 { animation: fade-me-in 1.5s; } @keyframes fade-me-in { 0% {opacity:0;} 80% {opacity:0;} 100% {opacity:1;} } #block-80d9bee9e28b6781a90a { animation: fade-me-in 2.0s; } @keyframes fade-me-in { 0% {opacity:0;} 80% {opacity:0;} 100% {opacity:1;} } thank you!
tuanphan Posted November 4, 2023 Posted November 4, 2023 Add this code to Website > Website Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $("div#block-yui_3_17_2_1_1698099613340_5182").show().delay(3000).fadeOut(); }); </script> (Just a test code for (1) image, to see if I understand your request correctly?) Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
LindsEli Posted November 7, 2023 Author Posted November 7, 2023 On 11/4/2023 at 2:42 AM, tuanphan said: Add this code to Website > Website Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $("div#block-yui_3_17_2_1_1698099613340_5182").show().delay(3000).fadeOut(); }); </script> (Just a test code for (1) image, to see if I understand your request correctly?) thank you! will take a look
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment