October 2012

Hide HTML Title Tooltip when hovering an Anchor (<a>) element

Great looking images and design can be thrown off when annoying title tag tooltips show when hovering links. Some people set empty title tags to resolve the problem but if you do that, you are hurting your SEO. So, why not throw in a few lines of jQuery and set when the link is hoverd, set the title to empty so there is no tooltip. When the link is no longer being hovered, throw the title back in there. The important part is that your markup will contain title tags for search bots.

Here is the code. Put it in your document.ready or page load event that you are using.

Firebug Extension for AJAX Development

FirePHP enables you to log to your Firebug Console using a simple PHP method call. All data is sent via response headers and will not interfere with the content on your page.

FirePHP is ideally suited for AJAX development where clean JSON and XML responses are required.


Get Facebook RSS Feed by User ID

Simply get the id of a user by viewing one of their images. The id is at the end of any image.


Post to Facebook Wall/Timeline with the Facebook PHP SDK

 require_once '../facebook/facebook_sdk/src/facebook.php';
// configuration
 $appid = [APP ID];
 $appsecret = [SECRET APP KEY];
 $msg = 'Some message would go here.';
 $title = 'Some title would go here';
 $uri = 'http://nathanbolin.com';
 $desc = 'Some detailed message that shows beneath the title.