Complete guide to livereload over ssl (https) using grunt watch

Posted by & filed under Developer Blog.

It is obvious from the grunt-contrib-watch documentation that it is possible to get livereload working over https to avoid browser complaints such as Google Chrome’s blocked message “this content should also be loaded over HTTPS.” What isn’t so obvious is how to go about getting it all working properly—especially to a front-end focused developer, who may… Read more »

Using JQuery to enable optgroup in CForms

Posted by & filed under Developer Blog.

CForms II is an extremely robust and useful plugin for WordPress. One of the main frustrations I’ve noticed people have with it is the lack of optgroup support with select boxes. I wrote this little piece of JQuery code that will allow you to enable optgroup: if($(".cform").length!=0){ $(".cform select option").each(function(){ if($(this).val() == "groupstart"){ var label… Read more »

Getting MediaWiki Collapsible Nav to Load Collapsed

Posted by & filed under Developer Blog.

Whether you are using the old UsabilityInitiative extension, or the new split out Vector enhancements, you may have noticed an issue where the Collapsible Navigation functionality causes the first nav item in your list to remain open when the page loads. It doesn’t behave like the rest of the nav items that will remain in… Read more »

Time Tracking Report Bookmarklet for Basecamp

Posted by & filed under Developer Blog.

If you’ve ever tracked your time in Basecamp, and you are forgetful like me, you know that sometimes it’s a pain to go check how much time you’ve already tracked. When you forget to check your time as you go, you end up going back and fill in the blanks. The process involves a few… Read more »

Using JQuery to reveal using a slide up effect

Posted by & filed under Developer Blog.

The slideUp() method in JQuery is intended to hide the element rather than reveal it. It is basically the opposite of slideDown() which “unhides” your element by sliding it down. As you can see on this blog, I have an “About Jason Gill” tab in my heading. When clicked, this tab reveals information about who… Read more »