Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Forum Collapse using JQuery Details »
Forum Collapse using JQuery
Mod Version: 1.00, by godarmy (Member) godarmy is offline
Developer Last Online: Nov 2014 I like it Show Printable Version Email this Page

vB Version: 5.0.x Rating: (0 vote - 0 average) Installs: 8
Released: 18 Jul 2013 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

Make Forum item and forum list collapseable

Add new template --> name it as you want (in this i called forum_collapse--> and then put this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and then...

edit template header...and find this line

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and then...add this line...after below line

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

also we can combine it.. with css to do some animation like folder tree

Best Regards

Godarmy

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 20 Aug 2013, 07:06
napy8gen's Avatar
napy8gen napy8gen is offline
 
Join Date: Jan 2006
Real name: hanafi
the jquery is now in footer template.

<vb:if condition="$page['channelid'] == 1 OR $page['channelid'] == 1" />
should not have closed tag at the end

<vb:if condition="$page['channelid'] == 1 OR $page['channelid'] == 1" >
it would be great is is using default vb5 collapse slide animation and collapse button

Last edited by napy8gen; 20 Aug 2013 at 07:33.
Reply With Quote
  #3  
Old 19 Mar 2014, 00:48
SirPereira SirPereira is offline
 
Join Date: Jan 2010
Can we have a possible demo or screenshot please?
Reply With Quote
  #4  
Old 25 Sep 2014, 02:45
hkwibawa hkwibawa is offline
 
Join Date: Sep 2014
Hi,

it works for me ( using vb 5 ) ....
and how can I make the sub forums in a state of collapse on the main page so that it does not require a lot of scrolling because of the many sub forums ?

thanks in advance
Reply With Quote
  #5  
Old 18 Nov 2015, 14:34
faustvasea97 faustvasea97 is offline
 
Join Date: Mar 2015
which header template? i didn't found that code in header template
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 10:01.

Layout Options | Width: Wide Color: