-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SlideShow Not Working with jQuery already on head #20
Comments
Hi Jams, --Christian |
Hi Christian. The width error was fixed. 1.When open image(fancybox) on click page goes back to top. 2.The rest of my function on page doesn't work.(loading the jquery on 3rdparty cancel my other jquery functions) |
Hi Jams, --Christian |
Hi Christian. issue 1 i fixed by changing one line in jquery.fancybox.css line 168 hidden to visible issue 2 still persists: if i make a jquery.min.js file(empty): if i leave the jquery.min.js |
Hi Jams, |
Hi Christian. i have jquery-2.1.4.min.js. |
Hi Jams, config.slideshowDoNotLoadJquery = true; so, this file will looks like : This flag will inform the slideshow plugin to not load the local jquery file (if set to true, no jquery file will be loaded assuming that your page already load one, what's happen in your case). Let me know if it's better. --Christian |
Hi Christian. the config flag works. jquery is not being loaded i have been viewing the code from your flag,deleting the file or empty jQuery and i get the same code in html here are some scrennshot |
hope anyone can help me with this.
i already have jquery on my head and if a let slideshow load the extra jquery(on 3rdparty) the slideshow works with two issues:
1 if i open the image it goes back to top.
2 error "jquery.ad-gallery.min.js:1 Uncaught TypeError: t(...)[0].width is not a function(anonymous function) @ jquery.ad-gallery.min.js:1n.event.dispatch @ jquery-2.1.4.min.js:3r.handle @ jquery-2.1.4.min.js:3". (this error occur with jquery2.1.4 and 1.11.1 ).
And the rest of my function on the page doesn't work (modals, nicescroll, menu, etc ).
if i don't let slideshow loads the jquery(on 3rdparty), my page works fine except for slideshow doesn't work and i get the same error as before "jquery.ad-gallery.min.js:1 Uncaught TypeError: t(...)[0].width is not a function(anonymous function) @ jquery.ad-gallery.min.js:1n.event.dispatch @ jquery-2.1.4.min.js:3r.handle @ jquery-2.1.4.min.js:3"
i only manage to stop the jquery(on 3rdparty) from loading by changing the name or deliting it, i try commenting the append of jquery in slideshow.js but the jquery is still being loadded.
How can i solve this it looks like calling and extra jquery causes errors on page except for slideshow. and if i prevent from loading it dosent work even if i alredy have a jqeury lib loaded.
What can i do?
The text was updated successfully, but these errors were encountered: