JavaScript Stopped Working
5 posters
Page 1 of 1
JavaScript Stopped Working
my javascript isnt working in my forum http://pb2genocide.forumotion.com/
I've looked and tried almost everything but it still fails to work. I've learned a lot about js in the past 4 months and now I cant use my newfound knowledge to maximize my forum appearance
I've looked and tried almost everything but it still fails to work. I've learned a lot about js in the past 4 months and now I cant use my newfound knowledge to maximize my forum appearance
Re: JavaScript Stopped Working
What are the codes you are typing to add?
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: JavaScript Stopped Working
Did you activate it at the top: [] yes [] no?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: JavaScript Stopped Working
@forumedic I want to add a code using Velocity.js
@slgray yes sir I clicked Enable Javascript code management and activated the code in all the pages
@slgray yes sir I clicked Enable Javascript code management and activated the code in all the pages
Re: JavaScript Stopped Working
Please post the link where you see the code.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: JavaScript Stopped Working
I have A code
(look at the bottom left corner of my forum)
- Code:
$(function() {
$('a.icon-home').text('Index');
});
(look at the bottom left corner of my forum)
Re: JavaScript Stopped Working
Where did you get it?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: JavaScript Stopped Working
Are you trying to add an image?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: JavaScript Stopped Working
The code above is supposed to change the word "Home" at the bottom right corner of the forum to the word"Index"
Re: JavaScript Stopped Working
SLGray wrote:Where did you get it?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: JavaScript Stopped Working
ange tuteur gave it to me a while ago. It's worked fine up until all my js codes stopped working.
Re: JavaScript Stopped Working
Please change the title of your topic to something that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: JavaScript Stopped Working
have you added any more codes in the last 2 or 3 days ?
If yes you need to turn off each code one by one until you see your code work again.
It maybe that one or more codes are messing that one up.
Sadly ange tuteur has left the team and will be in much less then he was before and he is moving on with he's life outside of FM. so the chance of him helping is really low
You also have 2 errors on your site
If yes you need to turn off each code one by one until you see your code work again.
It maybe that one or more codes are messing that one up.
Sadly ange tuteur has left the team and will be in much less then he was before and he is moving on with he's life outside of FM. so the chance of him helping is really low
You also have 2 errors on your site
Re: JavaScript Stopped Working
Chrome is pointing to the following script in regards to a syntax error.
The error occurs at
, change it into
. It'll probably display differently in your admin panel as the above script is minimized.
@APE The ones circled are security warnings. The one that's highlighted with a red background and a yellow "X" is a Javascript error. Click on the link to the very right and it'll take you to where the error occurred. If it doesn't, reload the page with the console open and THEN click the link. Sometimes chrome can be buggy about that, but that's the only workaround I know. Hope that helps you.
- Code:
/\/u\d+/.test(window.location.href)&&$(function(){var users={'maxydude0':'<span style="color: #7931df">maxydude0</span>'User A':'<i>A</i>','User B':'<b>B</b>'},i,nodes=[$('h1.page-title')[0],$('.h3')[0],$('#cp-main h1')[0]];for(i in users){$(nodes).html($(nodes).html().replace(new RegExp(i),users[i]))}});
The error occurs at
|
|
@APE The ones circled are security warnings. The one that's highlighted with a red background and a yellow "X" is a Javascript error. Click on the link to the very right and it'll take you to where the error occurred. If it doesn't, reload the page with the console open and THEN click the link. Sometimes chrome can be buggy about that, but that's the only workaround I know. Hope that helps you.
Similar topics
» JS stopped working
» My forum stopped working
» Code stopped working
» Javascript not working?
» YouTube embedding stopped working
» My forum stopped working
» Code stopped working
» Javascript not working?
» YouTube embedding stopped working
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum