It would be more useful if [expand/contract] toggled the max-height value of "div.codeholder{...}" instead of changing "div.codeholder div{...}" back and forth from display:block/none;
This way we could use Expand to expand the code block to see all the lines without the scrollbar.
Expand - Contract Toggle
Moderator: General Moderators
-
thinsoldier
- Forum Contributor
- Posts: 367
- Joined: Fri Jul 20, 2007 11:29 am
- Contact:
Expand - Contract Toggle
Warning: I have no idea what I'm talking about.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: Expand - Contract Toggle
That *would* be kind of nice, actually.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Expand - Contract Toggle
Already implemented this in subsilver. Not had a chance to fiddle with prosilver yet due to other commitments
It's on the cards though.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: Expand - Contract Toggle
oh right - I think you mentioned that already!

-
thinsoldier
- Forum Contributor
- Posts: 367
- Joined: Fri Jul 20, 2007 11:29 am
- Contact:
Re: Expand - Contract Toggle
anyone know how to use firebug to do it?
Warning: I have no idea what I'm talking about.