Skip to content

SlideShow Not Working with jQuery already on head #20

@jams13

Description

@jams13

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions