Viewing 7 replies - 1 through 7 (of 7 total)
  • I think I am trying to do the same thing. Did you ever get it figured out? I have spoilers set up on a page (a list of words with their definitions in the spoiler area). I want to link from another page to one of those spoilers (a definition). I can link to the page where the spoilers are but I can’t get that spoiler to open to show the definition automatically. I hope that makes sense. I hope it can be done!

    I have this on the main page:

    [spoiler title=”word” anchor=”#Definition_of_Word”]Definition[/spoiler]

    On another page, I have:

    Word

    What do I need to add to make the definition visible when the link is clicked from the other page?

    Thread Starter lightworkerarts

    (@lightworkerarts)

    No… never heard back from the developer, and haven’t discovered another solution…

    Maybe you’ll have luck…

    I too would appreciate knowing how to do this please. Otherwise, I am duplicating content on a page, and in a tab.

    I have this on the main page:

    [spoiler title=”word” anchor=”#Definition_of_Word”]Definition[/spoiler]

    On another page, I have:

    Word

    What do I need to add to make the definition visible when the link is clicked from the other page?

    You need to remove # symbol from anchor.

    Shortcode

    [spoiler title="word" anchor="Definition_of_Word"]Definition[/spoiler]

    Link

    <a href="#Definition_of_Word">Word</a>

    You can also find more useful examples by navigating to Dashbaord -> Shortcodes -> Examples -> Spoilers…

    Madfork, that did it! Thanks!!

    worked for me as well, using tabs!
    NICE!

    This didn’t work for me. I’m trying to link a sub menu item in a mega menu to a specific location on page and it doesn’t jump to that location and doesn’t open the spoiler item either.

    This is what I got…

    WP Menu >> Custom Link:
    Link: rel_url…#Spoller-1
    Link: rel_url…#Spoller-2
    Link: rel_url…#Spoller-3

    In page where accordion resides:
    [su_accordion]
    [su_spoiler title=”Spoiler title” anchor=”Spoiler-1″] Spoiler content [/su_spoiler]
    [su_spoiler title=”Spoiler title” anchor=”Spoiler-2″] Spoiler content [/su_spoiler]
    [su_spoiler title=”Spoiler title” anchor=”Spoiler-3″] Spoiler content [/su_spoiler]
    [/su_accordion]

    Any help will be appreciated!! Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How can I specify a URL to open at 2nd or 3rd tab’ is closed to new replies.