Results 1 to 2 of 2

Thread: how to expend all the threads?

  1. #1
    Join Date
    Nov 2009

    Default how to expend all the threads?

    In news module, I was wondering is possible to add an clickable javascript to open/close all the thread at once.


    title [expand/close option]

    once clicked, all the "slim" thread will expand with post text, thambnails and etc.

    here is the code for single thread

    <vb:if condition="$vba_style['portal_collapsemods']">
    			<a class="collapse" id="collapse_module{vb:raw mods.collapse}" href="{vb:raw relpath}#top" style="top: 6px"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw mods.collapseimg}.png" alt="" /></a>
    	<div class="vba_module blockbody" id="module{vb:raw mods.collapse}"<vb:if condition="($mods['useshell'] & $vba_shellint['collapse'])"> style="display: none"</vb:if>>

  2. #2
    Join Date
    Jan 2004
    Georgia, USA


    You could edit the settings for your news module and disable the 'Separate News Posts' option and enable the 'Collapse Module by Default' setting.
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. vBA 3.2.0 - Recent Threads module shows threads as unread
    By pmkb in forum Troubleshooting & Problems
    Replies: 7
    Last Post: 12-24-2009, 09:43 AM
  2. Specific threads not saving in NEWS and RECENT THREADS modules
    By defkalion in forum Troubleshooting & Problems
    Replies: 5
    Last Post: 06-29-2008, 04:49 AM
  3. Replies: 4
    Last Post: 05-20-2008, 01:46 PM
  4. News Module - Remove Threads removes ALL Threads
    By kall in forum Troubleshooting & Problems
    Replies: 2
    Last Post: 10-08-2006, 04:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts