dimanche 4 janvier 2015

noConflict() issues 2 libraries and effects (images)

OK ill start for saying that I try all on the web... I think its my mistake but I dont know where (on my code) so I came for u guys and ur knowlegde cz I know u can fix it.


I have a website where I use an JS library (modernizr) for make an effect similar to the Google's image gallery (that when u click an image an it open a little div with the image an information about it)...


for the other side I want to make a basic zoom on the image that is inside of this little div... like lightbox or shadowbox or some library that make this effect...


the problem is:



  • I can click on the image of my website and it open the div correctly but...

  • When I try to click the image inside of it... it send me to the url of the image on the explorer so...


My conclusion is that in my website cant put 2 or more libraries...(Im using modernizr with jquery 1.8 plus another library for the zoom, I try 2 different effects [shadowboxJS],[elevateImageJS])


shadowbox: http://ift.tt/QQDNOv


I will give u a link where I put my website with the shadowbox plugin inside, implemented but not working.


My website: http://ift.tt/14a9yOW


PD: Im only desing this... PD2: I already try with jQuery.noConflict(); but i think I dont know how to use it.


Thx since now for ur answer. Any suggest are welcome for do the same I want to do.


Aucun commentaire:

Enregistrer un commentaire