Some JavaScript codes are not working
3 posters
Page 1 of 1
Some JavaScript codes are not working
Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Safari
Who the problem concerns : All members
When the problem appeared : I'm not sure. On my testforum this problem occured long ago, but my original forum was fine all that time so I didn't pay many attention. Today I noticed the same problem on my original forum too, but it may have started earlier, as I said I'm not completely sure.
Forum link : http://sunset.forumtwilight.com/ and http://testforum.lithuanianforum.net/ those are both my forums where I am having this problem.
Description of problem
Hello!My problem is that some (two, actually, as I have noticed) of my forums JavaScript codes are not working at all, although some time ago they worked just perfectly.
Codes I am talking about are select content button for code box (tutorial) and character counter (tutorial). Both codes are installed on both of my forums, but suddenly for some reason they are not appearing any more. I mean, they are in JS codes list, but neither the select content button or character counter simply shows.
I have also installed word counter on my forums, but I don't think that both counters are conflicting, because they used to work perfectly together. I tried removing JavaScripts and installing again, but no use. I haven't recently changed anything or added some new codes I hadn't before. I'm not very good at coding, so maybe some errors in my forum coding have appeared. I would be very grateful if you could take a look
Last edited by ifelthope1126 on 6/11/2015, 06:56; edited 1 time in total
Re: Some JavaScript codes are not working
Hi @ifelthope1126,
One of your scripts appears to have a broken string which is interfering with other scripts set in all the pages. Do you have anything like this in your JavaScripts ?
If so, find the hex color
and add a closing apostrophe after it. ( ' )
One of your scripts appears to have a broken string which is interfering with other scripts set in all the pages. Do you have anything like this in your JavaScripts ?
- Code:
$(document).ready(function(){$('div.sceditor-container.ltr.wysiwygMode iframe').ready(function(){$('div.sceditor-container.ltr.wysiwygMode iframe').contents().find('p').css('color','#FACBD1)})});
If so, find the hex color
|
Re: Some JavaScript codes are not working
Yes, I have. Found it and fixed it, must have been my silly mistake when I changed text color in sceditor. Next time I will try to be more accurate. Thank you, amazing as always! Have a great day! Solved.
Re: Some JavaScript codes are not working
Topic solved and archived
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.
Similar topics
» JavaScript Codes aren't working
» javascript codes
» 2 Javascript Codes on same post
» Javascript Codes don't work
» Is there a way to back up your Javascript codes?
» javascript codes
» 2 Javascript Codes on same post
» Javascript Codes don't work
» Is there a way to back up your Javascript codes?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum