vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2011, 02:07 AM
radiofranky radiofranky is offline
Junior Member
 
Join Date: Nov 2009
Posts: 19
Default how to expend all the threads?

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>>
Reply With Quote
  #2  
Old 07-25-2011, 01:20 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -4. The time now is 06:11 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.