WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. LucyRyder
    Member
    Posted 2 years ago #

    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!!

  2. fyllhund
    Member
    Posted 2 years ago #

    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.

  3. LucyRyder
    Member
    Posted 2 years ago #

    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

  4. fyllhund
    Member
    Posted 2 years ago #

    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.

  5. LucyRyder
    Member
    Posted 2 years ago #

    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

  6. LucyRyder
    Member
    Posted 2 years ago #

    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

  7. marvalpert1
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic