Daniel Cazzulino's Blog : Behave properly on your posts

Subscriptions

News

Source code published in this blog is public domain unless otherwise specified.

 

kzu in LinkedIn

  Microsoft MVP Profile

 Contact

Post Categories

Behave properly on your posts

It's rewarding to see other bloggers using the same approach I've been using for quite a while for collapsing code regions that maybe be of interest of those who want a closer look at what you've done, but not to all readers, specially on the aggregated site.
If we could just get everyone else using the same, the main page would be much more pleasant. If you want to join this crusade, start using the following for your collapsible HTML regions: <div> <span style="font-weight: bold; color: white; background-color: blue; cursor: pointer">+</span> Expand for some cool code. <div id="YourCodeListingDivId" style="display:none"> ...your code... </div> </div>

posted on Monday, August 02, 2004 6:43 AM by kzu