javascript - jQuery Unexpected token ILLEGAL - line 1 -
i know has been asked before, i'm yet see problem on line 1.
all of js files getting console error (in every browser). i'm loading jquery google libraries working fine , not getting error, jquery plugin (fancybox) getting error , code hasn't been touched.
i have no idea why rest of files getting error working day yesterday , morning.
i saw in few cases error caused unreadable characters, don't think have on page.
the page can found @ http://b9media.co.uk/tbw.
my own js file starts follows.
$(document).ready(function() { // log-in functionality var signin = $('#signin'); var login = $('#login'); signin.click(function() { login.show(function() { login.css("margin-left", 0); }); signin.animate({opacity: 0}, 300, function() { signin.addclass('hide'); }); }); // move sign-up box on mobile var windowsize = $(window).width(); if (windowsize < 781) { $('#signup-grab').appendto("#append"); }; });
Comments
Post a Comment