Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Baden

    (@baden03)

    so just to make sure we understand the problem.
    When you use an anchor in the URL like:
    https://yourdomain.com/page-name/#anchor_name
    to automatically expand the element with an id of ‘anchor_name’ it works everywhere except IE. Or it is working in IE, just not on page refresh?

    The pro version allows items to maintain their collapse/expand status by saving the status to a cookie, however we are not sure if this will fix your exact problem.

    Which version of IE are you using? Does it happen on different computers? are there any js errors being thrown by IE?

    Thread Starter alex_whitehead_1991

    (@alex_whitehead_1991)

    Just to answer your questions below:

    This is my anchor link: https://80.244.191.57/~quissco/q-works/?reload=software#software

    The anchors are underneath the anchor title, so inside the hidden content as such.

    IE 11, 10 & 9 and a couple of machines including the clients so this is why the bug has been raised with you guys.

    Plugin Author Baden

    (@baden03)

    ok. so what is your goal here?
    You have an anchor tag inside a collapsed element. Are you trying to simply expand and scroll to the element, or a sub-section inside of the collapsed element? Or simply expand and scroll to the trigger text of the expand?

    Try this: instead of using anchor tags, simply assign the expand element a unique id:

    [expand id="software" title="software"]...[/expand]

    now you can remove the anchor tag: <a name="software"> </a>
    and collapse-o-matic should locate and expand the trigger that matches the anchor in the url. as described in the documentation under id:
    https://plugins.twinpictures.de/plugins/collapse-o-matic/documentation/#kraftwerk

    Thread Starter alex_whitehead_1991

    (@alex_whitehead_1991)

    The only issue with that is that they have multiple heading inside a collapsed item, that’s why the anchor needs to find the section and not the title of that section if that makes sense.

    Needs to find the anchor of the section within side the collapsed content.

    Plugin Author Baden

    (@baden03)

    so, in effect, find a section inside of a collapsed section, expand that section and then scroll to the anchor inside? we’ll do some testing and see if we can add this functionality.

    Thread Starter alex_whitehead_1991

    (@alex_whitehead_1991)

    Yes, that would be great.

    Do you know when as I am wanting to put this website live today?

    Thread Starter alex_whitehead_1991

    (@alex_whitehead_1991)

    if you could let me know this would be fantastic as otherwise I will have to try another plugin.

    Thank you

    Plugin Author Baden

    (@baden03)

    Ok, we took a look an before we change the plugin try giving the anchor an id that matches the name, for example:

    <a name="software" id="software"> </a>

    Thread Starter alex_whitehead_1991

    (@alex_whitehead_1991)

    Thank you for checking this but still seems to be the same issues with the accordion closing its self. I was using ID’s rather than names as names break this in other browsers.

    Thread Starter alex_whitehead_1991

    (@alex_whitehead_1991)

    The issue it just seems to be closing the accordion on page load. Is it possible to target the accordion headers to open up sections?

    Plugin Author Baden

    (@baden03)

    what, exactly does the ‘?reload=software’ part of the url do?
    And to be clear, this is only a problem in IE browsers?

    The following seems to work just as well in chrome, what happens in IE?
    https://80.244.191.57/~quissco/q-works/#software

    Thread Starter alex_whitehead_1991

    (@alex_whitehead_1991)

    The ?reload refreshes the page on other browsers and sends it down to the correct area.

    In IE, it goes to the correct area but then closes the accordion the anchor is featured inside. Seems to trigger it to be closed rather than finding it and staying open.

    Plugin Author Baden

    (@baden03)

    yes, because this refresh is triggering the load twice.
    what do you mean by ‘refreshes the page on other browsers’:
    what is ‘other’ browsers?

    if you link to a page, the page loads. If you link to the page and tell the page to *reload* what sense does this make?

    so it’s like this: The plugin looks for anchor tags in the url. if it finds one, it then checks to see if there are any of it’s parent elements that are a collapse element, and if so (and it’s collapsed’ then expand it. This is the default behaviour of the plugin. Not sure what happens when you are forcing reloads. Sounds like you need to set up a test page that does the very basic thing you need and test across all browsers, then one by one introduce layers of complexity until you identify whatever is messing up the delicate flower that is IE.

    Good luck, and let us know if you figure out with the issue was.

    Thread Starter alex_whitehead_1991

    (@alex_whitehead_1991)

    Even if I remove the reload function, it still closes the plugin on page load?

    in firefox, if I have the reload in, it seems to trigger it down to the correct anchor point. It is only IE that find the anchor point, then shuts the accordion this is found in..

    Thread Starter alex_whitehead_1991

    (@alex_whitehead_1991)

    Still appear to be having issues with Internet Explorer.

    I have set up a test page, removed the ?reload section out of the URL and it is still not finding the anchor inside the accordions. It keeps them closed and doesn’t trigger to open the accordion.

    Help would be grateful thanks.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘IE Issue with anchor’ is closed to new replies.