![]() |
|
#1
|
|||
|
|||
|
Hi,
In news module, I was wondering is possible to add an clickable javascript to open/close all the thread at once. example, title [expand/close option] -11010303030 -30300303030 -33030030303 once clicked, all the "slim" thread will expand with post text, thambnails and etc. here is the code for single thread Code:
<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>
</vb:if>
</h2>
<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
|
||||
|
||||
|
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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| vBA 3.2.0 - Recent Threads module shows threads as unread | pmkb | Troubleshooting & Problems | 7 | 12-24-2009 09:43 AM |
| Specific threads not saving in NEWS and RECENT THREADS modules | defkalion | Troubleshooting & Problems | 5 | 06-29-2008 04:49 AM |
| how to not shows on Recent Threads on home page -threads awitting moderation ? | avitor | "How Do I..." Questions | 4 | 05-20-2008 01:46 PM |
| News Module - Remove Threads removes ALL Threads | kall | Troubleshooting & Problems | 2 | 10-08-2006 04:09 PM |