ARCHIVE

Calculate Text Width with jQuery


This jQuery plugin should calculate the textwidth of elements. jQuery.fn.textWidth = function(){ var _t = jQuery(this); var html_org = _t.html(); if(_t[0].nodeName=='INPUT'){ html_org = _t.val(); } var html_calcS = '' + html_org + ''; jQuery('body').append(html_calcS); var _lastspan = jQuery('span').last(); //console.log(_lastspan, html_calc); _lastspan.css({ 'font-size' : _t.css('font-size') ,'font-family' : _t.css('font-family') }) var width =_lastspan.width() + 5; //_t.html(html_org); _lastspan.remove(); … Continue reading Calculate Text Width with jQuery

Freebie - AS3 CrossFade Banner Rotator


For importing in your Flash projects, you need to: 1. open sourceindex.fla 2. open the library 3. drag and drop the main movie and rotator components in your .fla 4. remember to also copy the classes razor and caurina in the folder your .fla is 5. done. preview – here download – here licence – … Continue reading Freebie – AS3 CrossFade Banner Rotator

Twitter Api Wrapper with Caching


Hello guys, Just wrote a Twitter API Wrapper with caching Available here – https://github.com/digitalzoomstudio/twitterapiwithcache

Setup Vanilla Forums With Envato API Purchase Verification


Ok, ok.. don’t get excited: it’s not a plugin :(, it’s a core modification, but it works. Tried the plugin way but there are not many / none good resources on the internet about Vanilla Addons, so would have taken me much more if it was even possible. Enough talk: Download and install latest vanilla … Continue reading Setup Vanilla Forums With Envato API Purchase Verification