• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Collapsible Sidebar

#1
What this is
This is a query toggle to collapse your sidebar. It will add a cookie to save your setting.

Installation
  1. Upload the contents of the upload folder to your XenForo root directory.
  2. Import addon-collapsible_sidebar.xml
  3. That is it!
Frequently Asked Questions (I will add to these as they arise)
  1. I am not seeing the sidebar icon that collapses/expands, how do I fix that?
    • This is likely due to you using a different style directory other than default. This addon is setup so that you can use custom arrows (left and right) for each of your styles. In order to fix this, you must upload the CollapsibleSidebar folder to each of your style folders.
Compatibility
This has been tested in IE8, IE9, Chrome, as well as Firefox, all seem to be well.

Demo
If you would like to see a demo, you can see it at BBSmiley.

Please feel free to let me know what you think, or how we can improve it.
 

Attachments

Dr.Yontem

Formerly Tilkißey
#6
nice job :thumbup:

but,i think, this line must be modify
Code:
$('.mainContent').animate({marginRight:'260px'},'slow');
marginRight:260 is for only Default Style (sidebar width+10)
 

iXanon

Active member
#9
Doesn't seem to be compatible with XenPorta currently.

It hides everything when you click the collapse arrow.
 

Digital Doctor

Well-known member
#16
IMHO a noob will find anything that is there to be a problem eventually.
Hence the term: Noob.

Any ideas for noob-protection here ?
Hidden things expire after a certain amount of time, ie show themselves again ?
Maybe after a few of the hide/unhide cycles, it becomes permanently hidden until manually opened.
Would this precaution not be worth the hassle ? <-- my vote :)
 

a legacy reborn

Well-known member
#17
I wouldn't do it because if they are noobs they are probably using IE(just a guess, but an educated one lol) and IE is defaulted to remove cookies at exit(I think?) and so all is good, if anything it should teach them not to be a noob.
 

Shelley

Well-known member
#18
I have an idea to expand on the whole toggle sidebar thing. I'll hit you up later on msn and we can discuss that TFH. And excellent job. (y)