Calculator Scripts

I have a calculator on this PAGE but it is not functioning. I am
assuming it is not reading some of my scripts. This is the way I have
them on my HTML:

<link rel="stylesheet" type="text/css" href="Scripts/js/jquery-ui.min.css"/>
<link rel="stylesheet" type="text/css" href="Scripts/js/colorbox/colorbox.css"/>
<link rel="stylesheet" type="text/css" href="Styles/calc.css"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="Scripts/dropdown_language.js"></script>
<script src="Scripts/bootstrap.min.js"></script>
<script src="http://code.jquery.com/jquery-1.8.2.min.js" type="text/javascript"></script>
<script src="Scripts/jquery.carouFredSel-6.0.4-packed.js" type="text/javascript"></script>
<script src="Scripts/productpages_carousel.js"></script>
<script type="text/javascript" src="Scripts/js/jquery.js"></script>
<script type="text/javascript" src="Scripts/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="Scripts/calc.js"></script>

You have multiple copies of JQuery being loaded

I see which ones should be removed because when I remove one copy
it takes off styles and functioning…

Try removing the 2 middle ones.

e.g.

 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
    <script src="Scripts/dropdown_language.js"></script>
    <script src="Scripts/bootstrap.min.js"></script>
    <script src="Scripts/jquery.carouFredSel-6.0.4-packed.js" type="text/javascript"></script>
    <script src="Scripts/productpages_carousel.js"></script>
    <script type="text/javascript" src="Scripts/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="Scripts/calc.js"></script>

It may be that your plugins need a specific version of jQuery so you may need to refer to the documentation of the plugins you are using to confirm. (If so then it gets a bit messy to accommodate other versions.)

BTW The css files should be in the head and not at the end of the html.

hmm that didnt seem to work.

Right and Yeah I forgot about the links…

Seems to be working now?

hmm it does I guess I may have not refreshed it or something,but thanks for your help.

I see… it does not work on my local host.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.