• Resolved bjacksonforward

    (@bjacksonforward)


    We are using the accordion on our page, and also add a ? variable. Unfortunately this seems to break the accordion and its not usable. Can you recommend a fix or should we switch plugins?

    Here is a breakdown (not real URL’s)

    We have a site testdomain.com/course/testcourse/
    With the accoridon URL it would be testdomain.com/course/testcourse/#course_overview
    The variable we add to the URL breaks the accoridon and nothing is clickable testdomain.com/course/testcourse/#course_overview?hash=98543jfa234

    Clicking the accordion continues to add more variables like this testdomain.com/course/testcourse/?hash=98543jfa234#course_overview?hash=98543jfa234

    Do you have any recommendations?

Viewing 5 replies - 1 through 5 (of 5 total)
  • casper

    (@caspervoogt)

    Somehow or other you seem to be experiencing behavior we cannot replicate, so I suspect it’s some unrelated JS that is tacking on those ?hash= variables at the end of the URL (where it should be taking the hash into consideration, not just adding the ? to the end of the url).? An example, non-working page would be easier to understand of course, but we tested it out on our own demo page and both the initial load and clicking around both tabs and accordions worked fine with a URL parameter set:

    https://plethoraplugins.com/tabs-accordions/?test=1#v_maecenas_hendrerit

    Feel free to send me a demo URL via our contact form at https://plethoraplugins.com/contact/, so that we can see the issue first-hand. That will help a lot. Thanks

    Thread Starter bjacksonforward

    (@bjacksonforward)

    Thanks for the response Casper. I have sent an example link to your webfore.

    I checked your demo page and it does indeed seem to work on your end! Is there a reason why it would be interpreted differently on ours?

    Thanks,

    -brian

    casper

    (@caspervoogt)

    I sent you an email reply with possible fix

    Thread Starter bjacksonforward

    (@bjacksonforward)

    It was some JS that was modifying the href tags on our end. Thanks for the quick support folks!

    casper

    (@caspervoogt)

    Happy to help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘URL Variable breaks accordion’ is closed to new replies.