Posts Tagged ‘CSS’

As a few users of MyGoogleCal3 have already pointed out, the script no longer works prop­erly. That’s the bad news. The good news is ver­sion 4 does work. In fact, with the lat­est changes Google made to their code, ALL the fea­tures that were bro­ken in 3 appear to be work­ing now—Agenda/Week view, the cal­en­dar nav­i­ga­tion but­tons, and IE is fixed. Please down­load and test out the lat­est ver­sion, and report any bugs in the com­ments and I’ll try to resolve them as time allows.

(more…)

MyGoogleCal2 no longer works 100% in Inter­net Explorer. A run­time error occurs when nav­i­gat­ing month-to-month or when switch­ing to Agenda mode. The workaround is to sim­ply hide the nav­i­ga­tion inter­face. Now, I don’t know if this bug was intro­duced when Google updated the code last month, or if it’s always been there and I just never noticed. In any case, the run­time error occurs when //"+a.host+"/calendar is replaced by //www.google.com/calendar. Given the poor debug­ging avail­able in IE, I didn’t get very far with fig­ur­ing out why IE breaks. I sus­pect that when IE makes an Xml­HttpRe­quest, it’s dou­ble check­ing that the request URL matches up with the server host, or some­thing to that effect. Since Google obfus­cates the Javascript code, it’s just way too hard to try and fix it. Instead, I’ve opted to cre­ate a new ver­sion of MyGoogle­Cal that uses the orig­i­nal tech­nique for IE but uses the tech­nique from MyGoogleCal2 for all other browsers.

(more…)

The long awaited new ver­sion of MyGoogle­Cal is here. It sup­ports the new AJAX-enabled Javascript method Google switched to last month. As a bonus, the new ver­sion has native sup­port for mul­ti­ple cal­en­dars each with their own col­ors! Other changes to the code include offi­cially switch­ing from fopen to curl to retrieve the data. Fur­ther­more, the code replaces much less HTML since it’s encap­su­lated in Javascript. With­out fur­ther ado…

(more…)

My how-to for restyling Google Cal­en­dar is by far this blog’s most pop­u­lar post so far. Right from the start, peo­ple had requested that I adjust the code to accom­mo­date Google Calendar’s mini-mode. It cer­tainly was pos­si­ble using the tech­nique I used, but it did break the agenda which was flaky to begin with given the fact the fea­ture was exper­i­men­tal. Every once in a while, I’d check on the sta­bil­ity of mini-mode to deter­mine if it was ripe for some hack­ing. Then one day the mode sim­ply didn’t work any­more. It was weird, but after fur­ther research I found out why. Mini-mode was super­seded by the Google Cal­en­dar Gad­get. The con­fig­u­ra­tion form does pro­vide some cus­tomiza­tion of the style, but it is cer­tainly lim­ited. So just like before, I poked and prod­ded the code until I was able to find the means to restyle the gadget.

(more…)