Author Archives: Frank

Sass in Sublime Text – A lesson in RTFM

‘sass’ is not recognized as an internal or external command, operable program or batch file. [Finished in 0.4s with exit code 1] I received this error when attempting to build / compile SASS into css. If you’ve been trying to utilize features … Continue reading

Posted in Uncategorized | Leave a comment

jQuery Bread Crumb Trail Plugin

This plugin will take the URI segment of the URL and split it into links based on directory names. This is not the most attractive method of doing this, but is very useful when trying to add breadcrumbs to older … Continue reading

Posted in Uncategorized | Leave a comment

Simple Animated Content Slider with jQuery

Content sliders are fairly simple things to implement, as they can be built with using only a few basic pieces of html, css, and javascript ( if you are focusing development on css3, javascript is not needed at all ). … Continue reading

Posted in Uncategorized, Web Development | Tagged , , , , , | 1 Comment

Mental Ray – Light Scattering

While tweaking shaders, textures and bump maps for tree bark and ivy, I set to create a ‘depth’ to the textures; for light to enter, bounce around inside, giving a sense of depth to the surface. However, not entirely successul, … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

(Android) PhoneGap Cordova 1.5 menubutton and searchbutton with jQuery Mobile

Using PhoneGap (Cordova) 1.5, I ran into an issue with the physical buttons on the Android device, specifically I was trying to bind handlers to “menubutton”, “searchbutton”, and use them to navigate within a jQuery Mobile app. However, these buttons … Continue reading

Posted in Mobile Development | Tagged , , , , , , , | 3 Comments

(Android) DroidGap Cordova 1.5 – Error with “Getting Started”

Here is a simple fix to get the new version of DroidGap (1.5) working on Android. The “Getting Started” section for android simply states an incorrect import. “import com.phonegap.*” If Ecplise is showing errors, change it to “import org.apache.cordova.*” If … Continue reading

Posted in Mobile Development | Tagged , , , , , | 3 Comments

Affecting a series of (recursive) elements with css

Many sites use some form of rating system for content – here is an example of how to create series of elements for a ranking meter using only html and css. HTML <div id=”stars”> <div class=”star”> <div class=”star”> <div class=”star”> … Continue reading

Posted in Web Development | Tagged , , , | Leave a comment

CSS Double Border

Today I came across an interesting prospect – How to emulate a double border using only CSS. This can be achieved with the :before and :after pseudo selectors. xhtml <div id=”myDiv”>Some Text Here</div> CSS #myDiv, #myDiv:after { display:block; background:#00f; width:100px; } #myDiv:after … Continue reading

Posted in Web Development | Tagged , , | Leave a comment

ScrollTo Anchor tags using jQuery

A quick jQuery plugin to over-ride/replace the jump-to action with a smooth-easing scroll action for anchored links. This will be updated with an option to set the duration jQuery Plugin (function($){ $.fn.weighAnchor = function() { this.each(function(){ $(this).click(function(){ var scrollTo = … Continue reading

Posted in Web Development | Tagged , , , , | Leave a comment

TimeDrop Menus with jQuery

TimeDrop menu is a plugin for jQuery based on common drop-down methods, but allows for drop down menus that will persist until a timeout triggers them to close. This allows the user to jump off the menu for a short … Continue reading

Posted in Uncategorized, Web Development | Tagged , , , , , | Leave a comment