Began writing a long article for my new blog when I realized I really needed some form of expandable code blocks for when I post large chunks of code in articles. horizontal scroller pictured and when expand is clicked it slides down to full height. Click to view in 800x600
Now that I think about it, the right arrow implies that it will expand it to the right but the button expands code below (the vertical scrollbar is disabled). hrm
4 Responses
Began writing a long article for my new blog when I realized I really needed some form of expandable code blocks for when I post large chunks of code in articles. horizontal scroller pictured and when expand is clicked it slides down to full height. Click to view in 800x600
5 months ago
Now that I think about it, the right arrow implies that it will expand it to the right but the button expands code below (the vertical scrollbar is disabled). hrm
5 months ago
Simple enough to move the box to the bottom border and point the arrow down :) Or make it like a tab under the code block itself.
5 months ago
Rebound
Expandable code blocks v2
by Paul Stamatiou
Makes more sense to have the button in the middle and show the direction that it will expand. Maybe just needs a nice icon to polish it up.
5 months ago