works in jQ 1.9.1

very buggy
needs space after attr prefix
[~ top] works
[~top] does not
also compatibility issues with jQuery.css()