WordPress.org

Support

Support » How-To and Troubleshooting » How / where do I move the line of code that calls the Jquery script up higher?

How / where do I move the line of code that calls the Jquery script up higher?

  • Hello,

    I am trying to resolve conflicts with Easing slider and MO gallery on my site at:

    http://www.lucyryderwebprint.co.uk/test

    I have been advised to ‘move the line of code that calls the JQuery script up higher’ – but I do not know where this line of code is! is it in one of the .php files in the plugin folder, or in one of my core template files? I understand how you call JQuery in a static HTML file using <script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js” type=”text/javascript”></script> – or a link to the file in your website folder; so am i looking for this in the Easing Slider Plugin’s files, and should move it to he first thing in that file?

    Any help much appreciated!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • it’s in the header.php

    should look something along the lines of

    <script type=”text/javascript”
    src=”<?php bloginfo(“template_url”); ?>/js/jquery.js”></script>

    easiest thing would be to just search for the string with jqeury.js inside your ftp program.

    Hi fyllhund – thank so much for the speedy reply!

    There is not call to JQuery in my header.php (I am using twentyeleven with a child theme) – but the call is in the following files http://www.lucyryderwebprint.co.uk/call-jquery.png

    – which do you reckon i move it higher in? – or should i add like your code in my header.php?

    many thanks again you are a star!

    Lucy

    Just add the code into the header.php . that means it will be rendered on all pages if you wish to do some easy javascripts later.

    However this doesn’t mean that it will fix your problem with your 2 plugins conflicting. It might , but there is not certainty. Try this first then if it doesn’t work give me a link to your site and I´ll try to check why they are conflicting.

    Hi fyllhund – thanks so much again!

    I added your code just before </head> in my header.php file – and unfortunately this has not solved the issue – if you wouldn’t mind taking a little look at my site to see if you have ideas that would be amazing!

    Its:

    http://www.lucyryderwebprint.co.uk/test/

    and as you can see the loading icon to the left – this is a simple banner of images using easing slider. It worked fine until I installed the Mouseover Plugin – with which i will have 6 in-page galleries such as on:

    http://www.lucyryderwebprint.co.uk/test/my-work/stained-glass/

    Any ideas?

    Many thanks
    Lucy

    Hello again, If i disable to Mouseover Gallery the Easing slider works again – so it must be some thing to do with having these 2 plugins running – perhaps it is an issue with JQuery being called twice?

    Cheers

    Newbie. Can this slider be put in a header? can you have several slide shows at once? like an effect that is like http://www.ottopizzeria.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How / where do I move the line of code that calls the Jquery script up higher?’ is closed to new replies.
Skip to toolbar