![]() |
Open Accordion if Anchor Selected
Hi all,
So I am sure this is possible, but not sure how to implement it. I have a link on a page that when clicked opens another page that contains a list of items with subitems that are contained in a closed accordion. I would like to click on the first page's link and have it load the second page and open the corresponding accordion list. For example: HTML Code:
<a href="link1.html#acord1>Link 1</a>, found on page.html, opens link1.html and anchors to #acord1. #acord1, by default, is a closed accordion. How can I have #acrod1 an open accordion when I click on the link1.html#acord1 on page.html?Thanks! |
> I would like to click on the first page's link and have it load the second page and open the corresponding accordion list.
I'm going to assume that the <a>'s are set up similar to this. Code:
<a href="about.php#contact">Contact</a>javascript Code:
|
| All times are GMT. The time now is 07:56 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0