Link to a specific tab or accordion

Link to a specific tab or accordion was created by trogladyte

Posted 7 years 2 months ago #40164
I used to use NoNumber (Now Regular Labs) Tab and Slider plugins. They were good, but a total bear to style compared to PB's ones.

There is one thing that they had that I don't see how to accomplish with PB though; the ability to link to a specific tab (can't remember if accordions did it as well, but I think they did). So, like this:

A page, let's say called Contact, has 3 tabs on it - Contact, Map, and Message. The SEF URL is www.example.com/contact . With NN tabs, I could add #contact, #map, or #message to the end of that URL (so www.example.com/contact#map for example) and that would go to the Contact page, but open the tab Map. It was extremely useful.

Have I missed how to do this in PB?

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Link to a specific tab or accordion

Posted 7 years 2 months ago #40167
Hi
this feature is not yet implemented in PB tabs and slides
Please remind me next week, I will try to find the time to work on this
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by trogladyte on topic Link to a specific tab or accordion

Posted 7 years 2 months ago #40292
Quick reminder! :)

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Link to a specific tab or accordion

Posted 7 years 2 months ago #40327
Hi
please replace this file in
components/com_pagebuilderck/assets

dl.dropboxusercontent.com/u/8539690/pagebuilderck.js

then
if you have a tab with the text "Good Morning CEd" and you want this tab to be active, you shall add the following code in your url
Code:
#tab-good-morning-ced

all in lowercase, spaces replaced with -

let me know if it works for you. (Only implemented in tabs for now)

Joomlack Webmaster and Developer

Last Edit:7 years 2 months ago by ced1870
Last edit: 7 years 2 months ago by ced1870.

Please Log in or Create an account to join the conversation.

Replied by trogladyte on topic Link to a specific tab or accordion

Posted 7 years 5 days ago #41248
Hey Ced

Never got to downloading this file. Can you repost please? Thanks.

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Last Edit:7 years 5 days ago by trogladyte
Last edit: 7 years 5 days ago by trogladyte.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Link to a specific tab or accordion

Posted 7 years 4 days ago #41253

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.722 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 873 guests and no members online