The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Javascript not working..

View previous topic View next topic Go down

Solved Javascript not working..

Post by Menos on 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

Menos
Forumember

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

http://cbrxx.darkbb.com/

Back to top Go down

Solved Re: Javascript not working..

Post by APE on 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

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.






APE
Manager
Manager

Male Posts : 8319
Reputation : 716
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Javascript not working..

Post by Menos on 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.

Menos
Forumember

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

http://cbrxx.darkbb.com/

Back to top Go down

Solved Re: Javascript not working..

Post by Ange Tuteur on 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.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Javascript not working..

Post by Menos on 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!!

Menos
Forumember

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

http://cbrxx.darkbb.com/

Back to top Go down

Solved Re: Javascript not working..

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

Topic solved and archived


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


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum