javascript - Is it possible to use Flexslider and Fancybox in the same page? -
Once I jquery for script, css, fxbox, my flexscript script does not work. I get this error:
Javascript error: type error: $ (". Flexslider"). The Flexslider function is not When I remove the fancybox script, my FlexSlider works. Is it possible to use both of them?
In this way I am working on both of my sites:
HTML: & lt; Script src = "// ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "jquery.fancybox-1.3.4.pack.js" & gt; & Lt; / Script & lt; Script src = "jquery.flexslider.js" & gt; & Lt; / Script & gt; Javascript: $ (document) .ready (function () {$ (".fancybox"). Fancybox (); $ ('Flexslider') .FlexSlider ();});
Comments
Post a Comment