Nate Tallman
31p16 comments posted · 0 followers · following 0
60 weeks ago @ Rick W Smith Blog - I'm in love. · 0 replies · +1 points
73 weeks ago @ BeforeTheBang - PHP 5.3.3 and SSH2 · 0 replies · +1 points
81 weeks ago @ Stuff Christians Like ... - Secretly being liberal. · 0 replies · +2 points
81 weeks ago @ Stuff Christians Like ... - Secretly being liberal. · 5 replies · +4 points
97 weeks ago @ Ron Edmondson - Sin Often Begins With ... · 1 reply · +1 points
David got spring fever.
103 weeks ago @ Human3rror - Running. · 1 reply · +1 points
108 weeks ago @ Michael Hyatt Blog - A CSS Problem · 0 replies · +1 points
108 weeks ago @ Michael Hyatt Blog - A CSS Problem · 4 replies · +1 points
cufon-yui.js that you use to apply custom fonts, has a 10ms timeout built in because of their own problems with rendering custom fonts on a document that is potentially unready. This, in turn, screws up GASlider, which fires at the same time as Cufon.replace(). When GASlider does its math, it's grabbing heights, padding, etc *before* cufon does its font replacement. This make the first slide of an incorrect height because cufon changes everything after GASlider does its math. This is remedied by the time the first slide rolls around again because GASlider re-calculates the correct height.
To fix (a tad hackish, I know, but until Cufon adds callback function capability or gets rid of the 10ms delay, this will have to do):
Replace:
jQuery('#slider-holder').GASlider(
{
sfade : false, // Slide Fade
cfade : true, // content Fade
offset : 40, // Padding offset
speed: 500,
timeout: 6000,
content_speed: 1000}
);
With:
setTimeout("jQuery('#slider-holder').GASlider({sfade : false,cfade : true,offset : 40,speed: 500,timeout: 6000,content_speed: 1000})",11);});
This will trigger GASlider 1ms after cufon.replace() so cufon has time to do its replacement before GASlider needs to do its math.
120 weeks ago @ BeforeTheBang - Comcast Billing Suppor... · 0 replies · +1 points
120 weeks ago @ ChurchCrunch - Gary Vaynerchuk, Custo... · 1 reply · +1 points
Joint