This code is throwing me a syntax error:
$("body").live("click", (function(){
if ((! mouse_is_inside) && ($("div#notification_box").is(":visible"))) {
$("div#notification_box").hide();
$("p.exclamation").removeClass("exclamation_hover");
$.ajax("/videos/update_box.js");
}
});
Remove the (
before function
. You have mismatched parentheses.