03-15-2007, 10:12 PM
This small plugin adds the well known +/- image at the upper right corner of any code tag.
Using the image, users can easily collapse/expand a code tag, so no more endless scrolling when someone pasted a long code snippet.
Features:
Two code boxes, the first one is a standard one, the second one is a GeShi code box:
![[Image: codefoldunfoldedix5.png]](http://img410.imageshack.us/img410/9697/codefoldunfoldedix5.png)
Same as before but folded:
![[Image: codefoldfoldedkp5.png]](http://img19.imageshack.us/img19/3364/codefoldfoldedkp5.png)
Settings:
![[Image: codefoldsettingsuf4.png]](http://img103.imageshack.us/img103/6136/codefoldsettingsuf4.png)
See it in action!
If you have any suggestions and/or feedback, I would really like to read it
Using the image, users can easily collapse/expand a code tag, so no more endless scrolling when someone pasted a long code snippet.
Features:
- Can be (de-)activated using forum settings
- Default collapse state can be changed (collapsed/expanded)
- Works together with other plugins that use the [code] tag such as the GeShi plugin by CrazyCat
Two code boxes, the first one is a standard one, the second one is a GeShi code box:
![[Image: codefoldunfoldedix5.png]](http://img410.imageshack.us/img410/9697/codefoldunfoldedix5.png)
Same as before but folded:
![[Image: codefoldfoldedkp5.png]](http://img19.imageshack.us/img19/3364/codefoldfoldedkp5.png)
Settings:
![[Image: codefoldsettingsuf4.png]](http://img103.imageshack.us/img103/6136/codefoldsettingsuf4.png)
See it in action!
If you have any suggestions and/or feedback, I would really like to read it
