Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Evan Herman

    (@eherman24)

    Hi Priti23, I’m not sure on what you mean. It looks like it is working as it should be. By the way, very nice use of the plugin.

    -Evan

    Thread Starter priti23

    (@priti23)

    I think you have seen my site
    Below is the design
    vLink 1
        Sublink 1
        Sublink 2
        Sublink 3
    >Link 2
    >Link 3
    >Link 4
    >Link 5
    >Link 6

    Now when I click on Sublink 1,the page get refresh and it becomes this

    >Link 1
    >Link 2
    >Link 3
    >Link 4
    >Link 5
    >Link 6

    Now my question is how the user will know which link he has clicked.
    So for this,it should remain as below.
    vLink 1
        Sublink 1
        Sublink 2
        Sublink 3
    >Link 2
    >Link 3
    >Link 4
    >Link 5
    >Link 6

    So how would I do this..

    Plugin Author Evan Herman

    (@eherman24)

    If you wanted to achieve something like that you need to assign each link its own ID and write some jQuery script that would expand each section dependent on which page they were on. It’s not something I could easily describe without having access to to the site.

    Assigning each link and ID with which page it is, then when you land on that page you could run a script to determine which page you are on using $id = get_the_title(); then expand that link based on the page title.

    Sorry if this is unclear. It’s hard to explain.

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

The topic ‘how to customise this plugin’ is closed to new replies.