Reputation: 432
I'm no jQuery guru, and cannot seem to get this needed jQuery feature loaded on a site for a client. I've double-checked that all files paths are correct - and they are - but nothing seems to be working.
I've hosted the site live - you can check the source on there. (SOURCE CODE REMOVED) A map should be appearing between the nav and footer - but nothing!
Upvotes: 1
Views: 115
Reputation: 1435
I opened your website link and I saw on Firebug you are missing a braces somewhere:
I strongly recommend you to use some developer tool like Firebug to see the Javascript errors. Try to find your issue and let me know if it will work.
Upvotes: 1
Reputation: 1275
If you look at the Javascript console, you will see you have an error in your Javascript syntax:
It seems you forgot to close a parenthesis. Probably because this line:
$("#image-map-pro-container").imageMapPro({"id":3082,"edi ...
is too long, I'd suggest you try to break it into pieces.
Upvotes: 1
Reputation: 2599
Try to check when your scripts are being fired. Jquery usually works best when loaded early on before any other scripts on your page.
<script src="~/Scripts/jquery-2.1.4.js"></script>
<script src="~/Scripts/bootstrap.js"></script>
Upvotes: 1
Reputation: 6030
Remove the <script src="js/jquery.js"></script>
line as you're already using the minified version.
You have 2 versions of jQuery being used in your site right now:
jQuery v1.11.1
and jQuery v2.1.4
.
Decide which one you want to use and remove the other one.
Upvotes: 4