Link to nestable tab

Hello, is it possible to have a url link directly to a nestable tab? Basically have it open when the page loads if a parameter is present in the url.

If anyone is interested, I managed to do this by adding the desired id (e.g. “#amsterdam-title” and “#amsterdam-content”) to the tab titles and panes and using the following script.

	jQuery(document).ready(function( $ ) {

    var hash = window.location.hash;

    if(hash && $(hash + '-title').length != 0){
      $( ".tab-title, .tab-pane" ).each(function() {

    	$(hash + '-title').addClass('brx-open');
    	$(hash + '-content').addClass('brx-open');

1 Like

Hi @Kyriakos
thank you
I don’t get it. I have 5 tabs with id’s #mytab-1 to 5 and content with id’s #mycontent-1 to 5
How do I get a url to open any of them?

If you want my script to work you have to name the ids the same way because the script looks for the “title” and “content” part in the id name.



Thank you

I have changed the 5 TITLES(the div in which the text element with title name) and PANES to;

What should the url then be?? Example:

I have then added your code exactly as is and to run site-wide.

The url should be