Possible Duplicate:
Unexpected token ILLEGAL in webkit
Ive been looking at this and cannot see a problem, it works in jfiddle - just not on the site!
<script type="text/javascript">
var fixed = false;
$(document).scroll(function() {
if( $(this).scrollTop() > 200 ) {
if( !fixed ) {
fixed = true;
$('#menu-scroll').css({position:'fixed', display:'block'});
}
} else {
if( fixed ) {
fixed = false;
$('#menu-scroll').css({display:'none'});
}
}
});
</script>
link to the site is http://mtro.es/7