The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
4 posters

    Javascript not working..

    Menos
    Menos
    Forumember


    Male Posts : 383
    Reputation : 4
    Language : Greek, English and Slovak

    Solved Javascript not working..

    Post by Menos December 23rd 2015, 9:13 pm

    For some strange reason the Javascript in my forum doesn't seem to work..
    I have installed 2 codes.
    1) A code to bring the page "back to top".
    2) The Christmas countdown clock.

    The "back to top" has stopped appearing some weeks now.. but the script is still there untouched.
    Two days ago I installed the Javascript of the Christmas countdown clock and... nothing happened..!
    Any suggestions?


    Last edited by Menos on December 24th 2015, 3:27 pm; edited 1 time in total
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Javascript not working..

    Post by Ape December 23rd 2015, 9:54 pm

    Hello @Menos and first of all Happy Holidays to you santa
    I have looked at this forum > http://cbrxx.darkbb.com/
    and i can see the move up button on the bottom right hand side
    Javascript not working.. Captur34
    Make sure you clear your browser cache also try other browsers to see if you still have the problem.
    It could be down to a browser problem and not your codes.




    Javascript not working.. Left1212Javascript not working.. Center11Javascript not working.. Right112
    Javascript not working.. Ape_b110
    Javascript not working.. Ape1010
    Menos
    Menos
    Forumember


    Male Posts : 383
    Reputation : 4
    Language : Greek, English and Slovak

    Solved Re: Javascript not working..

    Post by Menos December 24th 2015, 3:03 pm

    I forgot to mention that the forum I'm talking about is... http://bikers.forumgreek.com/forum
    Thank you for your time.
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Javascript not working..

    Post by Ange Tuteur December 24th 2015, 3:13 pm

    Hi @Menos,

    There's a JavaScript error on your forum. The script in question that's causing the error is this script :
    Code:
    <script>window.fbAsyncInit=function(){FB.init({appId:'160287957336060',xfbml:true,version:'v2.3'})};(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id)){return}js=d.createElement(s);js.id=id;js.src="//connect.facebook.net/en_US/sdk.js";fjs.parentNode.insertBefore(js,fjs)}(document,'script','facebook-jssdk'));</script>
    FYI It's minified, it may look different in JS codes management.

    Anyway, the
    Code:
    <script>
    tags surrounding this JavaScript code need to be removed, or you can remove the script if you want as well.
    Menos
    Menos
    Forumember


    Male Posts : 383
    Reputation : 4
    Language : Greek, English and Slovak

    Solved Re: Javascript not working..

    Post by Menos December 24th 2015, 3:26 pm

    Took me some time, but I got it!! Razz
    Thank you for your help again Ange Tuteur!!
    This topic is solved!!
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Javascript not working..

    Post by SLGray December 24th 2015, 7:24 pm

    Topic solved and archived



    Javascript not working.. Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is November 11th 2024, 4:24 pm