Expand - Contract Toggle

We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.

Moderator: General Moderators

Post Reply
thinsoldier
Forum Contributor
Posts: 367
Joined: Fri Jul 20, 2007 11:29 am
Contact:

Expand - Contract Toggle

Post by thinsoldier »

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.
Warning: I have no idea what I'm talking about.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: Expand - Contract Toggle

Post by Kieran Huggins »

That *would* be kind of nice, actually.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Expand - Contract Toggle

Post by Chris Corbyn »

Already implemented this in subsilver. Not had a chance to fiddle with prosilver yet due to other commitments :) It's on the cards though.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: Expand - Contract Toggle

Post by Kieran Huggins »

oh right - I think you mentioned that already!

:oops:
thinsoldier
Forum Contributor
Posts: 367
Joined: Fri Jul 20, 2007 11:29 am
Contact:

Re: Expand - Contract Toggle

Post by thinsoldier »

anyone know how to use firebug to do it?
Warning: I have no idea what I'm talking about.
Post Reply