Rosetta Code:Village Pump/Foldable output: Difference between revisions

Textarea bombed.
(There shouldn't be too much JavaScript needed)
(Textarea bombed.)
Line 11:
:: Probably there should be a convention that the hideable part would be surrounded by an always divisible div which just tells you that there's a hidden output area. This is, of course, not part of the JavaScript.
:: Also note that all the boilerplate could easily be hidden in a MediaWiki template. --[[User:Ce|Ce]] 09:08, 28 October 2008 (UTC)
 
:I just tried using the textarea tag and that failed too. I had hoped that something like: '<nowiki><textarea cols="80" rows="20" readonly="readonly" wrap="off"></nowiki>' would confine the output to a scrollable box, but it did not work. --[[User:Paddy3118|Paddy3118]] 05:59, 29 October 2008 (UTC)
Anonymous user