Priority Support

If you’re a Pro user, please open a support ticket.

Notifications
Clear all

Open toggle block by default when the anchor link is in the URL

Posts: 1
Topic starter
(@ellipsis)
New Member
Joined: 2 years ago

I’m not sure if this is possible, but it would be great to have a functionality where a toggle block with set ID is opened by default if its ID (anchor link) is used in the url.

For example, I have a page with 20+ toggle block, all closed by default, and I want to link one of the toggles from a different page, let’s say it’s 15th toggle from the list, and I assign an ID “linked-toggle” ( https://tppr.me/Qniyt). When I visit the page using the www.website.com/page#linked-toggle, it scrolls down to that toggle, but it would be useful if that toggle could be opened by default when visiting from www.website.com/page#linked-toggle URL.

Hope I explained that clearly.

Let me know if there’s any chance we could get this feature.

12 Replies
Posts: 129
Admin
(@imtiazrayhan23)
Member
Joined: 7 years ago

You can already do that.

When you are editing a panel, head on to Advanced section of the block options. 

You can put the ID there that can be used as the anchor.

Please refer to the attached screenshot.

Kind regards.

Reply
Posts: 2
 raka
(@raka)
New Member
Joined: 1 year ago

Hi, 

I am also trying to do this, and have added anchor link in the Advanced section of the block option. However the link with the anchor goes to the full page, and does not automatically open that particular section. Any suggestions please? 

Reply
Posts: 129
Admin
(@imtiazrayhan23)
Member
Joined: 7 years ago

Hi,

Please share a link where we can check it out.

Kind regards.

Reply
1 Reply
 raka
(@raka)
Joined: 1 year ago

New Member
Posts: 2

@imtiazrayhan23 Thanks, this site is very much in development so I will delete the link after you’ve seen it – but here is an example of what I mean: https://dev.sanskritexams.org.uk/books-materials/#free-books

‘free-books’ is in the Panel ID in the Advanced section of the toggle block. Can you see what I am missing? 

Thanks very much, best regards. 

 

Reply
Posts: 2
(@nskpbrijb)
New Member
Joined: 1 year ago

Having the same issue. I have anchor tags given to both the panel block and as well as a heading (H4) inside the panel. When you click on the link with the anchor, the toggle is not expanded to the link. I tried giving both (panel anchor and heading anchor) in the URL, but it wont expand panel and show the heading.

Reply
2 Replies
(@nskpbrijb)
Joined: 1 year ago

New Member
Posts: 2

Anything on this please ?

Reply
Admin
(@imtiazrayhan23)
Joined: 7 years ago

Member
Posts: 129

@nskpbrijb Working on it right now. I am not sure if we can add it in the next release. But definitely in the one after the next release.

Sorry for the inconvenience. 

Kind regards.

Reply
Posts: 2
 sjhh
(@sjhh)
New Member
Joined: 7 months ago

I’m also keen to get this feature. Please let me know when it’s available.

Reply
4 Replies
Admin
(@istiak)
Joined: 7 years ago

Member
Posts: 115

@sjhh Ultimate Blocks has this feature. But it’s not working because of a bug. We have already fixed that. The fix will be available in the next update.

Reply
Admin
(@istiak)
Joined: 7 years ago

Member
Posts: 115

We’ve released an update today. Please check if it’s working now. 

Reply
 sjhh
(@sjhh)
Joined: 7 months ago

New Member
Posts: 2

@istiak Hi – I’ve checked it out and the link does go to the correct dropdown content – however the content bounces about 8 times before stopping. See video attached. Here is the link: https://lifedrawing.org/faq#instruction

Reply
Admin
(@istiak)
Joined: 7 years ago

Member
Posts: 115

@sjhh It’s working fine from my end. Can you please check after clearing the browser cache? (Also, check from a different browser)

Reply

New Year Sale - Get 50% OFF on all plans!

X