• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Sidebar - Collapse & expand [Deleted]

Allan

Well-known member
#1
Allan submitted a new resource:

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

Sidebar - Collapse & expand
________________________________

It's free ! :D

Informations:
- 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)

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

Chris D

XenForo developer
Staff member
#2
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.
 

emmy

Active member
#5
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