Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow location hash to expand question #9

Open
j-gardner opened this issue Dec 11, 2013 · 3 comments
Open

Allow location hash to expand question #9

j-gardner opened this issue Dec 11, 2013 · 3 comments

Comments

@j-gardner
Copy link
Contributor

Users have requested the ability to open a specific FAQ via the hyperlink.

Possible starting point:
http://forum.jquery.com/topic/jquery-expand-collapse-but-with-hyperlink

@j-gardner j-gardner added this to the 1.7.0 milestone Apr 10, 2015
@j-gardner j-gardner self-assigned this Sep 29, 2015
@j-gardner
Copy link
Contributor Author

Another possible starting point as provided by a user here

jQuery(document).ready(function($) {
    if(window.location.hash) {
        var hash = window.location.hash.substring(1);
        $('#'+hash).addClass('faq-open').removeClass('faq-closed').next('.arconix-faq-content').addClass('faq-open').removeClass('faq-closed');
    }
 });
`

j-gardner added a commit that referenced this issue Aug 29, 2016
Add support for a minified CSS file

Fixes #9
j-gardner added a commit that referenced this issue Aug 29, 2016
Allows sending user to to a specific FAQ mysite.com/faq/#faq-question1
and have it drop to that FAQ and expand its answer

This commit adds support for doing so on the toggle

#9
@j-gardner j-gardner mentioned this issue Aug 29, 2016
@mundschenk-at
Copy link

I'd appreciate this feature.

@bhagyashri12345 bhagyashri12345 removed this from the 1.7.0 milestone Aug 21, 2017
@mundschenk-at
Copy link

I've create PR #78 to address this issue.

@j-gardner j-gardner removed their assignment Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants