Sidebar - Collapse & expand [Deleted]


Well-known member
Allan submitted a new resource:

Sidebar - Collapse & expand - Allow you to collapse the sidebar

Sidebar - Collapse & expand

It's free ! :D

- I don't promise support.
- I have only tested on the original style, I can't make sure it will work on custom styles.
- Tested on XenForo 1.3.x, no others versions.
- Keeps the user preferences (use jquery.cookie.js)

- Upload "jquery.cookie.js" and "sidebar.js" in /js folder.
- Upload...
Read more about this resource...

Chris D

XenForo developer
Staff member
Thanks for releasing this.

I would recommend reviewing the jQuery code used as it does contain the use of deprecated functions such as live().

on() or bind() should be used instead.


Active member
Quick question - I need to make this appear in certain pages only - What expression should i user?

I know $visitor['user_id'] > 0 -- means: show for logged in users only

Please advise