geearias Posted December 27, 2021 Share Posted December 27, 2021 Site URL: https://www.beautifeyehtx.com Does anyone know if you're able to create an anchor link to a specific tab within a menu block? I have 4 tabs under a service menu using the menu block and it'd be great to link to the specific tabs. TIA! Link to comment
Beyondspace Posted December 28, 2021 Share Posted December 28, 2021 7 hours ago, geearias said: Site URL: https://www.beautifeyehtx.com Does anyone know if you're able to create an anchor link to a specific tab within a menu block? I have 4 tabs under a service menu using the menu block and it'd be great to link to the specific tabs. TIA! What is your protected password? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
geearias Posted December 28, 2021 Author Share Posted December 28, 2021 9 hours ago, bangank36 said: What is your protected password? @bangank36PW: beautifeye Under Services > Lash And Brows > Brows "tab" Link to comment
geearias Posted December 29, 2021 Author Share Posted December 29, 2021 @bangank36was wondering if you found a fix? Thank you!! Link to comment
geearias Posted December 30, 2021 Author Share Posted December 30, 2021 On 12/27/2021 at 4:16 PM, geearias said: Site URL: https://www.beautifeyehtx.com Does anyone know if you're able to create an anchor link to a specific tab within a menu block? I have 4 tabs under a service menu using the menu block and it'd be great to link to the specific tabs. TIA! HELP. If anyone has an idea. Would like to link to the Brows tab directly. Link to comment
geearias Posted December 31, 2021 Author Share Posted December 31, 2021 Looking to see if you can help me with the following: I want to link directly to this page so that it goes to the service menu, and shows the "BROWS" tab. https://beautifeyehtx.com/services PW: beautifeye Link to comment
tuanphan Posted January 2, 2022 Share Posted January 2, 2022 On 12/31/2021 at 11:38 PM, geearias said: @tuanphanLooking to see if you can help me with the following: I want to link directly to this page so that it goes to the service menu, and shows the "BROWS" tab. https://beautifeyehtx.com/services PW: beautifeye Hi. I have no idea to solve this. 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
JohnNeurauter Posted September 9, 2022 Share Posted September 9, 2022 Have you found a solution to this? Is there some way to make make one of these tabs selected in the url? I would like to have a QR code that goes directly to a brunch menu page for our restaurant, but still have the other tabs available. Link to comment
paul2009 Posted September 9, 2022 Share Posted September 9, 2022 (edited) On 12/27/2021 at 10:16 PM, geearias said: Does anyone know if you're able to create an anchor link to a specific tab within a menu block? 1 hour ago, JohnNeurauter said: I would like to have a QR code that goes directly to a brunch menu page for our restaurant The tabbed panels within a Menu Block do not have an ID that you can jump to like an anchor, so it is not possible to link directly to one of them using a link or QR code. Instead they are selected using JavaScript which means you'd need some custom JavaScript to be written that selects the relevant tab panel when a visitor users a specific URL query. It's possible to do, but we'd need more information about the site. Edited September 9, 2022 by paul2009 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
melaniejaane Posted October 19, 2023 Share Posted October 19, 2023 On 9/10/2022 at 3:22 AM, paul2009 said: The tabbed panels within a Menu Block do not have an ID that you can jump to like an anchor, so it is not possible to link directly to one of them using a link or QR code. Instead they are selected using JavaScript which means you'd need some custom JavaScript to be written that selects the relevant tab panel when a visitor users a specific URL query. It's possible to do, but we'd need more information about the site. Hey @paul2009 does this mean a website would need custom code written for each anchor link/ tab instance or is there a way to create a universal system? I have 4 tabs on the below page, each with a custom ID I thought could be used as an anchor link. Website example: https://beehyve.squarespace.com/adhd-support I'm trying to learn JS, do you think it would be possible to create something like this: On load check url if url contains # get name after # (variable) Find ID on page that matches (variable) Trigger click action And that would open selected tab. Thanks! Link to comment
paul2009 Posted October 19, 2023 Share Posted October 19, 2023 7 hours ago, melaniejaane said: I'm trying to learn JS, do you think it would be possible to create something like this This example sounds like it may help you: http://www.cssplay.co.uk/menu/cssplay-tabbed-pages.html Did this help? Please give feedback by clicking an icon below ⬇️ Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
melaniejaane Posted October 21, 2023 Share Posted October 21, 2023 On 10/19/2023 at 10:21 PM, paul2009 said: This example sounds like it may help you: http://www.cssplay.co.uk/menu/cssplay-tabbed-pages.html Did this help? Please give feedback by clicking an icon below ⬇️ @paul2009 thanks for the suggestion, that's exactly the kind of thing I want! Unfortunately it only seems to work when the tab buttons, targets, and content are all in the same section, not in multiple sections like Squarespace. Is there anyway around this? Created both examples here: https://codepen.io/melaniejaane/pen/vYbBqrN 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