1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Java Script blocks all animations

Discussion in 'Free Divi Community Forum' started by Hubertz, Dec 18, 2018.

  1. Hubertz

    Hubertz New Member

    Dear community,

    first of all i want to say sorry for my english skills, im from germany.

    I am building a homepage with divi and everything is fine until last week.
    I tried my first steps with javascript to make an element sticky.

    It worked really fine everything! Now, a few days later, i have big problems:
    As soon as i add ANY kind of javascript for example

    <script src="http://YOUR-DOMAIN-HERE/wp-content/themes/YOUR-THEME-FOLDER-NAME-HERE/js/jquery.sticky.js"></script> <script> jQuery(document).ready(function(){ jQuery("#sticker").sticky({topSpacing:200});
    });
    </script>

    (i checked that the jquery part script disables all my animations, the first part doesnt touch anything)

    ALL moduls with animations (made by divi builder) disappear, if i exit the visual builder. In the visual builder i can still see these moduls, but if i leave... and java script is also not working.

    I tried everything, i deactivated ALL plugins and so on.. anything blocks all other java scripts if i add own script in the header by using divi settings -> integration.


    Do you have any idea why this happens?
     
    1. PRO MEMBER PERKS Divi Powerful Child Theme - Power up your Divi sites with tons of new functionalities & premade elements:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    You can try to use inspect element in your browser (right click -> inspect), then navigate to Console to see if there are any errors. See screenshot below.

    upload_2018-12-18_22-8-22.png