inherit
211778
0
Aug 3, 2016 11:36:21 GMT -8
ponzinomics
250
July 2014
ponzinomics
|
Post by ponzinomics on Aug 13, 2014 23:34:27 GMT -8
I have been forwarded from the support forum so I reply the question here: Hi, I have installed the ' Sticky Thread Divider' plugin and works fine. Is there any similar plugin that, instead of separating the threads with a divider, wraps them together in a collapsible layer (similar to e.g. collapsible categories)? (So they do not take space in the thread list unless the user expands the layer). Basically same functionality that 'Sticky Thread Divider' but wrapped within a collapsible panel instead. Maybe I can create it on my own playing with the templates... The idea is wrapping about 10 threads but it will start always collapsed so I would not expect visual delay in rendering. Any starting point on how to address this functionality? Thanks
|
|
inherit
211778
0
Aug 3, 2016 11:36:21 GMT -8
ponzinomics
250
July 2014
ponzinomics
|
Post by ponzinomics on Aug 14, 2014 13:52:23 GMT -8
Investigating how 'Sticky Thread Divider' plugin works, I see that it looks just inserting a new <tr> (= the divider) in the threads <tr> list. By inspecting with the browser, I see this is the row added by 'Sticky Thread Divider' plugin. <tr><td colspan="7" style="border-right: none; padding: 0; height: 9px; background-color: rgb(230, 230, 230); background-image: url(); background-repeat: repeat-x; background-position: top left;"></td></tr> So, to do something similar for a collapsible announcements list, the idea would be finding out how to do collapsible <tr>'s. And...... bingo: stackoverflow.com/questions/16926752/expand-collapse-table-rows-with-jqueryso this code should do it: $('.header').click(function(){ $(this).nextUntil('tr.header').slideToggle(1000); }); I will investigate now where I can adapt this code, either in the templates or if it needs to be wrapped in a plugin.
|
|
inherit
211778
0
Aug 3, 2016 11:36:21 GMT -8
ponzinomics
250
July 2014
ponzinomics
|
Post by ponzinomics on Aug 17, 2014 11:46:58 GMT -8
Any help on this please?
|
|
inherit
186006
0
Mar 30, 2019 4:02:27 GMT -8
smashwords2
Breathing
244
November 2012
smashwords2
|
Post by smashwords2 on Mar 16, 2016 8:31:07 GMT -8
Bump
|
|