1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Duplicating "Thread Display Options" ajax dropdown in sidebar

Discussion in 'Styling and Customization Questions' started by Phases, Nov 25, 2013.

  1. Phases

    Phases Active Member

    I'm trying to create that same functionality in the sidebar that you see when you click "Thread Display Options" and it slides down, then back up.

    The closest I'm able to get it is to get it to redirect me to the homehome when I click the link meant to open it, with contents then showing, but no way back, and only from the forum view page.

    I can also get it to open when I click the original "Thread Display Options" link, it'll open with it, but then not close with it.

    I've been messing with:

    Code:
    <h3 id="DiscussionListsOptionHandle" class="JsOnly"><a href="#">Testinga</h3>
    <br />
    <form action="{xen:link 'forums', $forum}" method="post" class="DiscussionsListsOption secondaryContent">
    
    .. changing discussionlistoption to something else, and copying that CSS into a new template that I include.

    Can anyone point me in the right direction?
     
    Last edited: Nov 25, 2013
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Have you attached the necessary JavaScript to your new ID to perform the necessary actions?
     
  3. Phases

    Phases Active Member

    I don't think so, seeings how I'm barely sure what you just said ;)
     
  4. Phases

    Phases Active Member

    I don't know how to do that.. any pointers?
     
  5. Phases

    Phases Active Member

    Can anyone help me pull this off? I'd like to use it as a learning tool..

    Edit: Most of the way there now... thanks anyway..
     
    Last edited: Nov 28, 2013

Share This Page