taknee Posted February 16 Share Posted February 16 Hello, My client would like to have an animation of a spinning newspaper as the first page people see when on the site. When it stops spinning, she would like people to click on the video so that it leads them to another page of the site (aka the "home" page). Is this possible? Would I have to export the video animation from AdobePremierePro a certain way to do this? Note: The entire site has a background image that remains constant due to a custom code. Would this also effect the coding of having a code to make a video a hot link? Thank you! Below are sketches showing what she has in mind: Link to comment
Solution Beyondspace Posted February 16 Solution Share Posted February 16 (edited) 3 hours ago, taknee said: Hello, My client would like to have an animation of a spinning newspaper as the first page people see when on the site. When it stops spinning, she would like people to click on the video so that it leads them to another page of the site (aka the "home" page). Is this possible? Would I have to export the video animation from AdobePremierePro a certain way to do this? Note: The entire site has a background image that remains constant due to a custom code. Would this also effect the coding of having a code to make a video a hot link? Thank you! Below are sketches showing what she has in mind: With the basic css code for personal plan, You can try the following trick 1. Add an image block which allow you to add a link on it, so you can click on it to direct to the page you want 2. Make it small on editor 3. Use the following code on Home > Design > Custom Css to spin and scale your image block #block-yui_3_17_2_1_1676381170030_3394 { animation: 1s forwards appear; } @keyframes appear { from { transform: scale(1) rotate(360deg); -webkit-transform: scale(1) rotate(360deg); } to { transform: scale(6) rotate(-360deg); -webkit-transform: scale(6) rotate(-360deg); } } #block-yui_3_17_2_1_1676381170030_3394 is the image block that you can use the following extension to get it: Squarespace ID Finder How to get block id: https://recordit.co/kUIH4uco0b Press 👍 or mark this answer as solution to help another one too Edited February 16 by Beyondspace Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Beyondspace Posted February 16 Share Posted February 16 My testing https://recordit.co/lUhANw86o0 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
taknee Posted February 17 Author Share Posted February 17 @Beyondspace Thank you so much for the help! The code works great! The only problem I seem to be facing now is the quality of the image. The PNG file I made in Illustrator appears pixelated/blurry after the animation runs. Would you have any idea on why this is happening? I embedded an image of the newspaper from Google into the file and the text "In the NYT who knew" is from the text feature in Illustrator. However, the file image as a whole after spinning is pixelated/blurry. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment