Pixelated fonts in IE - it’s a jQuery thing!

October 6th, 2009

I’ve been struggling with an issue in Internet Explorer lately where my fonts were looking pretty ugly and pixelated. As it turns out this is a side effect of using jQuery fades.
The solution I found came courtesy of Malsup.com and requires the addition of the the following code:

jQuery.fn.fadeIn = function(speed, callback) {
return this.animate({opacity: 'show'}, speed, function() {
if (jQuery.browser.msie)
this.style.removeAttribute('filter');
if (jQuery.isFunction(callback))
callback();
});
};

jQuery.fn.fadeOut = function(speed, callback) {
return this.animate({opacity: 'hide'}, speed, function() {
if (jQuery.browser.msie)
this.style.removeAttribute('filter');
if (jQuery.isFunction(callback))
callback();
});
};

jQuery.fn.fadeTo = function(speed,to,callback) {
return this.animate({opacity: to}, speed, function() {
if (to == 1 && jQuery.browser.msie)
this.style.removeAttribute('filter');
if (jQuery.isFunction(callback))
callback();
});
};

Thank god I figured that out. Like the guy with the steering wheel down his pants, it was driving me nuts!

New Site Launched!

March 7th, 2009

We’ve just designed and launched a brand new website (at a super low, recession busting price!). Check out PlanSi.com where we’ve incorporated some nifty AJAX, while still making the site fully traversable by all incoming search bots.

Writing for SEO

February 17th, 2009

I came across an interesting article on HighRankings.com while I was thinking about re-writing some site content recently…

++The Magical Keyword Density Formula++

The Magical Keyword Density Formula
By Karon Thackston

Keyword Density

When it comes to SEO copywriting, this has to be one of the most talked-about subjects.  Why?  Because keywords are the very foundation of search engine copywriting.  Without keywords we wouldn’t even have SEO copywriting.  Since keywords (or more accurately, keyphrases) play such an important role in search engine copywriting, it would make sense to have certain rules and regulations or formulas that should be followed.


Read the rest of this entry »

That dang dashed box!

February 17th, 2009

I’m a stickler for details, so when I’ve spent countless hours making a site look spiffy, things like that dashed box around links really grind my gears.

So how to get rid of the dashed box? One method I’ve used is to set up my links as follows:

<a hef =”#” onfocus=”this.blur()”>

Works just fine. I’ve also used a jQuery solution where I add the following method :

$(’a').focus(function() {

this.blur();

});
Works like a charm.