Monthly Archives: July 2008

Great domain name – Localhost.com

Tweet Look at this! I bet all, if not most, of their trafffic is from developers whose app server happens to be down (and thus no “http://localhost/”) and firefox or IE redirects to “localhost.com”. What a great domain name. Wish I’d bought it.

Firefox caching iframe data

Tweet Ok this is a repost cuz of stinkin’ DreamHost. If you have an auto-generated iframe from a javascript, and this iframe has dynamic data, FireFox (but not IE) wll cache your data. Even if you have <META HTTP-EQUIV=”Cache-Control” CONTENT=”no-cache”> <META HTTP-EQUIV=”Pragma” CONTENT=”no-cache”> After days of pulling out my hair (or what little I have [...]

How to disable previous days in DHTML JS Calendar

Tweet If you are using the DHTML JS Calendar and is trying to disable the previous days, by doing so function dateRange(date) { var now = new Date(); return (date.getTime() <= now.getTime() ) } Calendar.setup({ inputField  : “calendar”, ifFormat    : “%m/%d/%Y %H:%M %p”, dateStatusFunc : dateRange, showsTime   : true, timeFormat  : “12″ }); you’ll notice [...]