Why might toggles not work? - javascript

This page has toggles, in the "Why We're So Good" section. They suddenly stopped working. I don't know what might of changed since then. This is how they'd work, normally.
Could someone please explain how the toggles work in general, and why they aren't working now?
(Also, is there any way to find out what JavaScript is changing the document?)
EDIT: prettyPhoto is an a completely unrelated script that does lightbox stuff

You are missing the http://wowballoons.com/wb/wp-content/themes/nevada/nevada/javascripts/jquery.prettyPhoto.js?ver=1.3 file in your application, that is why it is not working.
Please download the prettyPhoto script file and add it to your page.

You have a script error on the html page:
$("a[data-rel^='prettyPhoto']").prettyPhoto({
TypeError: $(...).prettyPhoto is not a function

Related

Ajax Path not working, can't find the cause

I have a simple Ajax function that changes a div.
The following code works, but it loads the index.php in my div also, which I don't want.
xmlhttp.open("GET","index.php?p=productDesc&q="+currentID,true);
Although the above works I'm trying to take the productDesc.php only, and it does not work.
xmlhttp.open("GET","pages/productDesc&q="+currentID,true);
Any ideas what might be causing that?
I searched but according to what I found I don't have anything wrong.
Any help appreciated.

Not getting slider images after reloading the html page

This is the screenshot of my html page. this commented area is my issue.
Your problem starts with a couple of error's :)
Your Javascript crashes because it looks for a function that doesn't exist "$(...).fancybox()". This means that either you didn't include the fancybox library or that the file where you call in the function fancybox is loaded before the fancybox library is loaded in.
Next problem is that the images that are used in your slider (I assume). Do no longer exist. Try clicking them in the console to see if you can access them in the browser.
Last but not least. You tagged your question as "java". Javascript and java are not the same thing. Your problem involves javascript. Might want to change that tag next time so you can get anwsered faster.
I Hope this helped a bit :)
Good luck!

Bootstrap data toggle tab activate bootply libraries

First of all, it's my first post and I'm still kinda newbie but I'm keen on learning more and more.
I checked out this before I decided to ask here because I kinda got stucked.
So here is example of the code:
http://www.bootply.com/C1Xu5M0RnP
It works how I wanted it to do so but if I put it into my code and trying to test it locally I got some problems. Switching tabs by clicking on tabs work perfect, but when I try to click on the link which should move me to another tab it doesn't do so. I see the link + '#profile' or '#home' but tab and content don't show.
I don't have any errors at console debug. I included scripts in a way, a lot of people suggested here - jquery first, bootstrap after.
The question is what am I doing wrong or what libraries are preloaded on bootply?
I would be really grateful for any advices.
Seems like it works now. The problem was that I was using my own script first, then I was loading jquery and bootstrap.

Javascript failing to run

I am in the middle of development and everything related to javascript all of the sudden stopped working.
There are a couple ‘no method’ errors in the console, but I can’t seem to find the root of the problem.
My site: http://radiantchurch.info/wordpress/about/
Thanks for all your help!
You must place your javascript references in correct order:
jquery
jquery plugin
your js scripts
IT does look like fitvids is not a function or not found, can you comment it out and then check it.

Color Box - External Linking

I can't seem to get my colorbox to work here, not sure whats missing. I have done this a ton of times, but apparently I am still so newb.
I have setup this sample page here:
http://www.whiterhino.us/aspire_setup/
(Click Either of the Red Buttons)
Wondering why the colorbox does not seem to format properly.
Thanks,
James
From a quick look at your source it appears you're missing the colorbox.css file.
That link is to the first example from the ColorBox demos on the website, but I'm pretty sure it's a standard file.

Categories