Expand/Collapse Forum Categories v2; 2 versions in less than 24 hours.... :P]Ok introducing the new version, couple of new features for ya all that im hoping you will like, but first lets take an overview of what the code does
What does it do?Gives user's the ability to collapse and expand forum categories, upon collapsing all forums inside the category are hidden, re-appearing if expand is pressed
What are the new features?This about brings everything anyone would want from using the 1st version (not that many have used it, heck i only released it less than 24 hours ago XD)
Anyway...
- Ability To Set Collapse/Expand Text To Images
- Easy to edit IMG url's
- And the best.. Cookie Controlled
If user's have cookies enabled and collapse a forum, they can reload, go to another page and come back, do whatever (except delete the cookie :angel: ) and the category will still be collapsed, just think of it as a memory
Upon expanding it back it is saved like that too ;)
Previews:Image Version |
Text VersionEnough chat, wheres the code!?!?!Simply add this to your footers, below is a little explanation on the editable features
- Code:
-
<script>
// Expand/Collapse Categories v2 - Leave Copyright Intact Wherever Used
// Created For Invision Free
// Author: Zero Tolerance © Game Zone | Evolution 2004 [http://gzevolution.net]
// Editable Options - Start
UseImgs="Yes"
ImgExpand="http://www.webpost.net/el/elitecoding/expand.gif"
ImgCollapse="http://www.webpost.net/el/elitecoding/collapse.gif"
// Editable Options - End
</script>
<script src='http://www.webpost.net/el/elitecoding/CatExpCol.js'></script>
Editable Options:You just want to be looking at:
// Editable Options - Start
UseImgs="Yes"
ImgExpand="http://www.webpost.net/el/elitecoding/expand.gif"
ImgCollapse="http://www.webpost.net/el/elitecoding/collapse.gif"
// Editable Options - EndOk, the red text is asking you if you want the expand/collapse links to be text or images, set to
Yes for images, and
No for text, the blue text are the image url's, 2 have been accompanied with the code but you may wish to edit them, if your using the text version, there is no need to edit the IMG url's
Uhm, thats about it, enjoy ^_^
- Zero Tolerance