Detecting IE6 in jQuery

if ($.browser.msie && parseInt($.browser.version)< 7) {
//code goes here
}

position:fixed; cross browser solution using jQuery

This is an easy way to accomplish position:fixed; across all browsers using jQuery. Works in IE6.

$(window).scroll(function() {
$('#elementName').css('top', $(this).scrollTop() + "px");
});

Suckerfish Menus, Flash and wmode

So in some versions of IE, Suckerfish drop down menus show up behind Flash videos unless you add the WMODE parameters to the HTML code.

Add the following parameter to the OBJECT tag:
<param name=”wmode” value=”transparent”>
Add the following parameter to the EMBED tag:
wmode=”transparent”

BizDev 2.0

Or Business Development 2.0. This idea falls into the “ask for forgiveness, not permission” style of work, which I personally subscribe to. It’s an interesting article, my favorite paragraph is in the end:

Traditional business development meant spending a lot of money on dry cleaning, animating your powerpoint, drinking stale coffee in windowless conference rooms and scouring the thesaurus looking for synonyms for “synergy”. Not to mention trying to get hopelessly overbooked people to return your email. And then after the deal was done, squabbling over who dealt with the customer service. Much, much better this way!


Read more…

Add Mootool’s Squeezebox functionality to your Joomla template

Joomla uses Mootools as a Javascript framework by default, and also has a light-box effect called Squeezebox built in by default. It’s quite easy to add Squeezebox functionality to your Joomla template.
Read more…

Web Tools

This is going to be a list of web development tools that I use. Right now, it’s pretty small. Inspired by this page from elementiks.com.

Templates:
Bulletproof Templates – Joomla Blank Skeleton Templates
Sandbox by Plaintext – Wordpress Blank Skeleton Template

jQuery:
Visual jQuery
jQuery API

Adventures in Aspell – Installing and Configuring for Dreamhost

I’m working on a special project involving Aspell, here are some instructions for updating Aspell on your Dreamhost server.
Read more…

Manually call Joomla Module to store as PHP variable, Allow HTML in Menu Title

This is a handy piece of code I use for whenever I need to load the output of a Joomla module as a PHP variable. One common use for this is to allow for HTML tags in menu titles. It’s also handy if you need to do string searches.
Read more…