jquery sizzle code example
Example: * http://sizzlejs.com/
var $test = jQuery( document );
Sizzle.selectors.pseudos.fixed = function( elem ) {
$test[ 0 ] = elem;
return $test.css( "position" ) === "fixed";
};
var $test = jQuery( document );
Sizzle.selectors.pseudos.fixed = function( elem ) {
$test[ 0 ] = elem;
return $test.css( "position" ) === "fixed";
};