Conflicting slides

5

I have the following problem I have a slide right at the beginning of my page in the <header> tag but one of your codes is imported this would be url but now in my <section> I have another tag that is from another slide would be this here this url is conlitando with that of my <header> is that it is possible to fix this axiste another way to be done remembering that I placed both urls in the browser and copied the code to a .js file and saved it inside my project but still still conflicting

These two slides are from a website follows the url of the two slides that I have to use:

header slide section's slide

    
asked by anonymous 15.07.2015 / 21:54

2 answers

5

The links you've pointed out are:

http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js

It seems to me that you have different versions of the same library (jQuery) to load on the page. This causes errors because the variables overlap and parts of the code will restart.

The best case of plugins that come with local library versions is to keep the most recent ( 1.8.3 in your case). And sometimes it may be time to go get an even more current version, just 1.11.3 in your case.

    
15.07.2015 / 22:12
1

Probably from what I realized you are making use of plugins for some specific behavior (slide / gallery ...) in your web site and the same is dependent on the Framework jQuery . Tips:

1. If you are loading them from a (host / sever / cdn), when in development phase allocate the links before closing the <body> tag, for performance issues as well there will be no blocking of the DOM load.

2. Use only a jQuery version and the most compatible one, which includes IE features for example, so you do not have to predict fallbacks for stupid things.

3. Check out the documentation for the plugins you are using because sometimes they only run with specific versions of the Framework.

Eh, be happy in Mommy mode!     

07.08.2015 / 09:16