By mariya | Published:
November 25, 2007
In your CSS, you specify that your #header, #footer and #sidebar elements should be baby blue. A week later, your picky designer asks that they be changed to lilac. Of course, you can change the color for all three elements, but, as the DRY gods will tell you, find/replace is error-prone.
You should only specify colors [...]
By mariya | Published:
November 11, 2007
Check out the Swazz Calendar. Small file size, easy to integrate and actually works.
One caveat: by default, it sets the date the European way (dd/mm/yyyy). To change to the American format, find the following line in the prepcalendar function:
calvalarr[d]=”+(d-cd)+’/’+(cm-(-1))+’/’+cy;
and change it to:
calvalarr[d]=”+(cm-(-1))+’/’+(d-cd)+’/’+cy;
Then find these lines in function lcs:
ccm=curdtarr[1]-1;
ccy=curdtarr[2];
prepcalendar(curdtarr[0],curdtarr[1]-1,curdtarr[2]);
Change them to:
ccm=curdtarr[0]-1;
ccy=curdtarr[2];
prepcalendar(curdtarr[1],curdtarr[0]-1,curdtarr[2]);
VoilĂ . [...]
By mariya | Published:
November 8, 2007
A dear friend noted that few of my posts are constructive: they’re mostly biting criticism and ranting about practices that don’t work.
But the topics I address (technology, business, recruiting) are so open-ended that you can do things many different ways. And they all work, except for the ones that don’t. It seems that as long [...]
By mariya | Published:
November 1, 2007
In a bout of desperation to find a competent CSS coder, I shot off the following email to Dave Shea, founder of css Zen Garden:
Dear Dave,
When I look deeply into your code, you make my heart smile. You are not like the others, I can tell. No: you are not like those fools who wormed [...]
By mariya | Published:
October 30, 2007
Some guy actually invented a robotic Zen garden called RoboZen. I don’t know the status of the project but I will try to find out, and perhaps help with his Java project. (Holy magnolia!)
By mariya | Published:
October 23, 2007
I appreciate how easy it is to report PayPal and Ebay phishing emails : just forward them to spoof@paypal.com or spoof@ebay.com. I assumed that all financial companies would have the sense to set up no-brainer email addresses to handle phishing concerns. But alas, my forwards to spoof@chase.com and spoof@bankofamerica.com bounced. Get a clue!
By mariya | Published:
October 18, 2007
There’s no hope for the web, is there? Most sites are poorly made and look like oatmeal on a baby bib. Others are developed cleanly by someone whose code doesn’t suck only to face another hurdle: the idiot copywriter.
The fun at this jewelry outfit begins with the domain name: steveclarkweb.com. I admit, it’s hard to [...]
By mariya | Published:
October 18, 2007
Verdage has snagged an office in Stockholm’s trendy “SoFo” area (I know, I know *rolls eyes*). It’s next to a Harley Davidson repair shop, so I have no doubt that our assets are safe and sound here. Come visit us at Bondegatan 17 and receive a FREE cup of coffee!
Ah yes, and at long last, [...]
By mariya | Published:
October 4, 2007
Name your classes something sensible! If I see another CSS class named “blueText” I will scream. YOU CAN TELL IT’S BLUE WHEN YOU LOOK AT IT, STUPIDS.
CSS was invented to make attributes easy to change. Say you want a blue message on all your pages. You sensibly label it with a CSS class ‘message’ and [...]