Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
$(".text").hide(); $(".verdetalhe").click(function() { show($(this)); return false; }); function show(el) { var $this = $(el); var $text = $this.next(); $text.show(); $this.click(function() { hide($this); return false; }); } function hide(el) { var $this = $(el); var $text = $this.next(); $text.hide(); $this.click(function() { show($this); return false; }); }
This paste will be private.
From the Design Piracy series on my blog: