smol_artist Posted February 1 Share Posted February 1 (edited) I'm trying to create a block(s) of code that contains four buttons. World Map, USA Map, Europe Map, and Asia Map. When hovered over, the buttons turn orange (completed). When clicked on it will reveal the corresponding map. (map code blocks are complete). I need help combining code and allowing for the maps to be toggled between. 🙂  Edited February 1 by smol_artist Link to comment
tuanphan Posted February 5 Share Posted February 5 There are some options to achieve this (1) Use a Tab Plugin Will Myers Tab Plugin (affiliate link) SQSPThemes Accordion Tabs Plugin (affiliate link) (2) Use free code First, you create 4 buttons: World Map, USA Map, Europe Map, Asia Map with URL: #world-map, #usa-map, #europe-map, #asia-map Add 4 Sections under with map of 4 areas Then share link to page where you added it, I can give code to show corresponding section when clicking on each button What do you think? 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!) Link to comment
smol_artist Posted February 6 Author Share Posted February 6 On 2/5/2024 at 1:59 AM, tuanphan said: There are some options to achieve this (1) Use a Tab Plugin Will Myers Tab Plugin (affiliate link) SQSPThemes Accordion Tabs Plugin (affiliate link) (2) Use free code First, you create 4 buttons: World Map, USA Map, Europe Map, Asia Map with URL: #world-map, #usa-map, #europe-map, #asia-map Add 4 Sections under with map of 4 areas Then share link to page where you added it, I can give code to show corresponding section when clicking on each button What do you think? Should I create the four buttons by writing code, or should we use the built-in buttons provided by Squarespace? Do I need to grant you access to make edits? Can I send you the website link and access code through a private message? Thank you in advance 🙂 Link to comment
tuanphan Posted February 8 Share Posted February 8 You can use Squarespace Button Blocks (4 blocks) No need to grand access, just share link to page where you added buttons + 4 sections, I can test code easier 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!) Link to comment
smol_artist Posted February 8 Author Share Posted February 8 9 hours ago, tuanphan said: You can use Squarespace Button Blocks (4 blocks) No need to grand access, just share link to page where you added buttons + 4 sections, I can test code easier Sent you a message that contains the link and access code there! 🙂 Thank you so much! 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