- , Cufon - . , , . - Cufon.refresh(), cufon . .
, cufon, . ( - ) js.
HTH:)
, :)
, :
jQuery('.portfolio-sorted').quicksand( cache_list.find('li[data-value=Video]'), {
duration: 500,
},
function(){
Cufon.refresh();
// OR Cufon.replace('h2', { fontFamily: 'Quicksand' });
// OR Cufon.replace($('.portfolio-sorted li h2'), { fontFamily: 'Quicksand' });
});
2
- - : Quicksand . ( - 1 - , , ?):
var cache_list = jQuery(this).clone().append('content');
jQuery('ul.portfolio-terms li a').click(function(e) {
var target = 'li[data-value='+$(this).attr('data-value')+']';
if ($(this).attr('data-value') == "All") {
target = 'li';
}
jQuery('.portfolio-sorted').quicksand( cache_list.find(target), {
duration: 500,
enhancement: function() {
Cufon.refresh();
}
});
e.preventDefault();
});
, ( Chrome FF). enhancement , .
!