Menu icon Foundation
how to activate an accordion from linking from another page?

Trying to figure out how to have an accordion active when linking from another page. Tried the usual

<a href="blah.html#IDX">
            

         

But obviously, that doesn't work. What would I need to do to be able to link from another page?

I would like to link by id and have the accordion open and at the top of the page. Can anyone help me or give me an idea what needs to be done? Javascript?

heres the accordion where the page contains a list of accordions with unique ids example:

        <dl class="accordion accorborder" data-accordion>
        <dd class="accordion-navigation">
            <a href="#p1">Link Here</a>
            <div id="p1" class="content">
               <div class="row">
                   <div class="small-6 columns">
                        
                   </div>
                   <div class="small-6 columns">
                   

accordionjquery

Trying to figure out how to have an accordion active when linking from another page. Tried the usual

<a href="blah.html#IDX">
            

         

But obviously, that doesn't work. What would I need to do to be able to link from another page?

I would like to link by id and have the accordion open and at the top of the page. Can anyone help me or give me an idea what needs to be done? Javascript?

heres the accordion where the page contains a list of accordions with unique ids example:

        <dl class="accordion accorborder" data-accordion>
        <dd class="accordion-navigation">
            <a href="#p1">Link Here</a>
            <div id="p1" class="content">
               <div class="row">
                   <div class="small-6 columns">
                        
                   </div>
                   <div class="small-6 columns">
                   
Klevis Miho almost 5 years ago