Script download conflict? The object does not have a method error when you enable Adobe Edge Animation

I have a real hairstyle: I have a webpage that uses jquery, jquery-ui and flexslider. Everything is working fine. Now I want to include the animation that I created with Adobe Edge Animator. The animation works fine on its own, but when I include it on the page for some reason, it seems to break jquery-ui and flexslider - I get

Uncaught TypeError: Object [object Object] does not have a method dialog

Uncaught TypeError: Object [object Object] does not have a 'flexslider' method

even though scriΓΌpts are loaded and everything works when i take

<script type="text/javascript" charset="utf-8" src="ani_1_edgePreload.js"></script> 

again.

I tried to use jQuery noconflict, rebuilding the script sequence, but to no avail.

Which is really strange, if I call a page with a certain parameter that opens the jquery-ui onload dialog, the dialog really opens, but after loading the animation I get an error again.

Here I installed the test files:

This is a page with dialogs and working flexslider:

http://s149471880.online.de/

This is an animation page in which dialogs and flexslider do NOT work:

http://s149471880.online.de/?ani=1

Any help would be greatly appreciated!

+4
source share
1 answer

Upload animation to i-frame

 <iframe src="/animation/Animation.html" width="980" marginwidth="0" height="350" marginheight="0" scrolling="no" frameborder="0"> </iframe> 

then he does not conflict.

+1
source

Source: https://habr.com/ru/post/1480139/


All Articles