Archive for November, 2010

JQuery trigger and JS Function Call revisited

Monday, November 29th, 2010

I just have to post this little code listing. It’s basically a mix between stuff detailed in two prior posts, Keeping it DRY with and jQuery toggle and Using jQuery’s trigger for automated interfaces. It is however much simpler than either of the prior posts and therefore makes for a better example.... Read More

Getting start and end date of week in PHP

Friday, November 19th, 2010

I just searched for ways of getting the start and end dates of a week. Sadly there is some less than simple solutions in the top results, this is a small effort at remedying that situation.... Read More

Dead simple CSS progress bar

Friday, November 19th, 2010

This is a dead simple progress bar without any background pictures and such. We have one containing div (bonus_entry_progress) which contains the bar itself (bonus_entry_bar) and the text (bonus_progress_text) written inside the bar.... Read More

Generating extended MySQL inserts in PHP

Thursday, November 4th, 2010

Today I just realized I didn’t have any PHP code to generate extended MySQL inserts at my disposal. For heavy inserts I’ve been using BEGIN and COMMIT with lines terminated with ;. ... Read More

Autocompletion, Jump to documentation, Swank and Slime

Wednesday, November 3rd, 2010

In the prior part I stated that I would look into autocompletion and documentation lookup/jumping and that’s exactly what I’ve done and I’m happy with the results.... Read More