Hard coding is bad, bad , bad. Very bad, okay? (see Avoiding Hard Coding of Group Names).
Here’s a quick and dirty way to have a drop down dialog which selects the “Year” and not be hard coded.
1234currentYear := @Year(@Now );
@Text(currentYear-1) :
@Text(currentYear) :
@Text(currentYear+1)
which results in a multip value list of (for this year) “2008″ : [...]
Follow
Archives (since 2003)
Categories
-
Recent Posts
- IE 6 Death Watch gets a Funeral Service and at least a few more Nails in it’s coffin
- different behavior for Prototype JavaScript childElements() in FF and IE
- Agile Web Development with Rails, erratum
- $400 fine and 3 demerit points for the life of 79 year old Siu Mui Lam
- a GreaseMonkey script for Follow Rank and Follows in Common for Twitter User Profiles
- 2010 Will be The Year of the Tablet!
Twitter Updates
- Join me March 29 for #DemoCamp Toronto 26 http://guestlistapp.com/events/16851 1 day ago
- Just back from "Alice in Wonderland", quite good and completly mad!! 1 day ago
- ABCD Said - PixieTea : Use iPhone MakeMusic http://youtu.be/a-jhElp6WJs very kawaii 3 days ago
del.icio.us links
- DemoCamp Toronto 26 - Event registration by Guestlist
Join me March 29 for #DemoCamp Toronto 26 http://guestlistapp.com/events/16851 - Designing for the Web: A book by Mark Boulton
RT @markboulton: My book, 'Designing for the Web' is now online, completely FREE! http://bit.ly/at7DcI #fivesimplesteps #mbd - YouTube - ABCD Said - PixieTea Use iPhone MakeMusic
ABCD Said - PixieTea : Use iPhone MakeMusic http://youtu.be/a-jhElp6WJs very kawaii - CSSquirrel : Goodbye, Six, and good riddance. So Say We All
- YouTube - THE NEW DORK - Entrepreneur State of Mind (Jay-Z ft Alicia Keys Spoof)
- DemoCamp Toronto 26 - Event registration by Guestlist
Flickr




-
Spam Blocked
Subscribe by RSS
Subscribe by Email
Follow Me Twitter
my Del.icio.us Bookmarks
my Flickr Pictures