Title: Highlander acting up
Last modified: November 12, 2016

---

# Highlander acting up

 *  Resolved [pandem](https://wordpress.org/support/users/pandem/)
 * (@pandem)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/highlander-acting-up/)
 * I am using a roll-your-own approach to toggle between some text and a photo slider.
   The text is visible initially and everything is working OK, except for a stupid
   detail: if, having the slider on display, the page is reloaded, both text and
   slider are shown. The logical way to avoid this seems to be using highlander 
   grouping, but then the slider is never shown (it jumps out shortly on clicking
   the link and then stays closed). Am I overlooking missing?
    The site is not visible
   at the moment, but I can paste here the code I’m using in case you need it. Thanks,
   this plugin is fantastic!

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

 *  Plugin Author [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/highlander-acting-up/#post-8430126)
 * Please explain more about:
 * > if, having the slider on display, the page is reloaded, both text and slider
   > are shown
 * Your description is a bit confusing, and without a link it’s hard to understand
   what exactly your issue is.
 *  Thread Starter [pandem](https://wordpress.org/support/users/pandem/)
 * (@pandem)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/highlander-acting-up/#post-8430475)
 * I will try to describe it more graphically. This is what I have on my page:
    ——-
   Some text visible on page landing (id=intro). It will be hidden when clicking“
   View images” link. View images (link)
 * Images hidden on page landing (id=slider). They are shown when clicking “View
   images” link and will be hidden when clicking “View text” link.
    View text (link)——-
   When images are visible and text hidden, if you reload the page (now with anchor#
   slider appended to slug), the text reappears over the images, but it should remain
   hidden. I tried to use highlander grouping to this effect, but it does not seem
   to work, as told on my previous post.
 * I created a test user for you in case you need to view it in action. You can 
   login [here](http://xosegarrido.com/wp-login.php) with user “test”, pwd “test”,
   and you will be redirected to a page using Collapse-O-Matic. Please click on “
   Ver fotos” to show the slider and then reload the page to see what I am talking
   about.
 * Thank you for finding some time to consider this issue!
    -  This reply was modified 9 years, 7 months ago by [pandem](https://wordpress.org/support/users/pandem/).
    -  This reply was modified 9 years, 7 months ago by [pandem](https://wordpress.org/support/users/pandem/).
 *  Plugin Author [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/highlander-acting-up/#post-8432972)
 * Thank you, the link helped.
    you might want to remove that test account now.
 * The issue is that you are using both a span element ‘span’ for the collapse/expand
   and this is wrapping an anchor element ‘a’.
 * There is no reason for the anchors, as the ID can be used as an anchor when navigating
   to the page using url anchors.
 * However, if you MUST use anchor tags, please check out the [documentation on the expandanchor class](http://plugins.twinpictures.de/plugins/collapse-o-matic/documentation/#special-classes).
   Here is a demo:
    [http://spacedonkey.de/716/collapse-o-matic-id-tag-in-link/](http://spacedonkey.de/716/collapse-o-matic-id-tag-in-link/)
 *  Thread Starter [pandem](https://wordpress.org/support/users/pandem/)
 * (@pandem)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/highlander-acting-up/#post-8450831)
 * It took me a while, but I finally saw what you meant. I was overdoing it! After
   some clean-up, less coffee and further reading of documentation, everything is
   working as expected. Thank you for your help!
 *  Plugin Author [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/highlander-acting-up/#post-8453662)
 * glad to hear you got it working!

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

The topic ‘Highlander acting up’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-collapse-o-matic_fffeff.svg)
 * [Collapse-O-Matic](https://wordpress.org/plugins/jquery-collapse-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-collapse-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-collapse-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-collapse-o-matic/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Baden](https://wordpress.org/support/users/baden03/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/highlander-acting-up/#post-8453662)
 * Status: resolved