Can this be achieved?
If the DIV inside the page is greater than 600 px, change the background color of #TWO to red
Using JQuery
I tried implementing this but it's not working correctly:
<script type="text/javascript>
$(document).ready(function(){
$.extend($.expr[':'], {
over100pixels: function(a) {
return $(a).height() > 600;
}
});
$('div:over600pixels')
$("#TWO").css("background-color", "red");
});
</script>