Bootstrap components (javascript) not responding - javascript

Just a quick question and I am taking a bit of a stab in the dark here, I apologise if it is way to general.
My twitter bootstrap components such as my Dropdown menus and my Modals have suddenly stopped working. I stopped developing this project a few months ago and it was all working perfectly until recently I have gone back to development and they are not wanting to work. I have changed nothing since they used to work.
Has there been a recent update that could have caused this?
I am working with MAMP and Twig and PHP.
Thank you very much in advanced!

Related

Javascript not working on wordpress template

I know that similar issues with not working JS on wordpress are there on StackOverflow, but I didn't find solution, as I am not very into code, it just stopped working.
I have bought a template on MyThemeShop. Everything was working fine, but as I was doing some changes on Theme Options, it somehow breaks. Now I can't use some plugins (monsterinsight) or even create and edit new content.
When I change to another template, everything works as it should. I have tried to delete template and download it from MyThemeShop again, but even this did not work.
Support on MyThemeShop stopped answering me, so I don't know, what else should I try. Anyone has the similar issue with MyThemeShop tepmplates? Thanks for any hint and answer.

Bootstrap JavaScript not working for rails 6

I have a starter project in rails 6 and I have added bootstrap to work with. I followed many tutorials including many discussions on implementing bootstrap with rails6 but I am not able to get bootstrap javaScript to work. I have added a basic navbar with dropdown, bootstrap is working but the dropdown is not working cant figure out what is wrong here. Please help.
Note: I have tried all tutorials on getting my bootstrap to work with rails6.Only the javascript part is not working.
This is just one of the tutorial I tried none is working though
https://www.vic-l.com/setup-bootstrap-in-rails-6-with-webpacker-for-development-and-production
Here is my GitHub repo please feel free to check it out and help me .
https://github.com/sriramhegdeofficial/RubyGems101

Facebook Comment Box Disappears in Accordian

I have two examples of Facebook comment box failing to load when an accordian is collapsed and reloaded. One HTML/JavaScript basic and the other in a Wordpress site via Visual Composer - this problem also occurs in numerous other accordions
HTML Example - http://iknowdigital.co.uk/htmlexample/
Wordpress Via Visual Composer http://thesingingmajor.co.uk/test-comment-box-martin/
I have contacted Facebook Support and Visual Composer support and neither can help out.
here are the replies
From VC
Hi Martin, The issue is not with the iframe, but the js that facebook comments use to render. It is not able to re-initialize itself when it is displayed as hidden and hence the issue occur. You can see that when you add nay iframe, it works fine without any issue. It is the js from the comments which is restricting it. As mentioned previously, it will require some custom js code to re-initialize this loading when the closed (hidden) accordion is opened. Kindly check.
From Facebook
Hi Martin,The issue here is the way the library is working. If you debug the code you'll see the plugin does not disappear, the issue is that the library is changing the width of the iframe that contains the plugin to 0 and you cannot see the comments plugin. In order to avoid this situation you will have to manually change the width value again and you'll see the comment plugin is still there. I'm going to close this bug as "By design" as this is not an issue in our side.
I'm not a javascript programmer, so am really at a loss here. Can anyone chip in with some advice here?
Thanks Martin

Chrome crashing on page load

I'm developing a site on Silex + Twig. Most of the time, everything looks great, but once in a while, without any JS errors, chrome will crash the page just after loading the content.
It only happens on some computers, what made me think that it might be a memory problem.
Unfortunately, I cannot provide any code, mostly because I would have to provide the whole source code, since I cannot pinpoint the problem.
Have any of you ever had problems like this? If so, how did you solve it? Where should I look first? Please, if you can, send me some light on this matter.
EDIT: On the beginning of the project, this started happening A LOT, like 3 out of 4 refreshes, so we switched from Symfony to Silex... In my machine, it solved the problem, but in some others, it still happens, in minor frequency.
I got it...
It was a problem with the flexslider plugin.
In this question there's the explanation and solution:
Bootstrap + Flexslider: Loading Flexslider within hidden element causes jQuery to be unresponsive
Thanks anyway... :D

Custom wordpress theme with Bootstrap IE 8 error

I've been stuck on this issue for a very long time and I would like to get some help from people out there who smarter than me.
I began building a custom wordpress theme with the frameworks of bootstrap 3.0. I uploaded the site onto a web server and the website isn't working on IE 8 properly. The layout is all jumbled up (here is the website http://www.plummedia.com.au/).
If you look at my code I have Html5shiv.js , respond.js and css3mediaquieries.js in my header.
I tried going through these steps but it has been unsuccessful. http://davekiss.com/ie8-respond-js-and-wordpress/
Please help thank you!

Categories

Resources