skip to Main Content

Bootstrap 4.0.0-beta modal won't work. Popper.js is breaking-Twitter bootstrap

I am creating a button to open up a modal when clicked. <--Modal trigger--> <button type="button" data-toggle="modal" data-target="#myModal">Create a new category</button> <--Modal body--> <div id="myModal" class="modal fade" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close"…

VIEW QUESTION

Liquid/Shopify: how I add jQuery to the page?

I'm having an hard time integrating external jQuery library into my own liquid page. I'd like to load it with the CDN. On the theme.liquid page I load the Javascript this way: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> {{ 'spot-the-ball.js' | asset_url | script_tag…

VIEW QUESTION

Simple Javascript Execution – Shopify

this should be fairly simple for those of you who understand jQuery. I am trying to get this script to run ONLY if <span class="site-header__cart-indicator "></span> is present on the loaded page. Here is the untouched jQuery code: window.setTimeout(redirectCheckout, 2000);…

VIEW QUESTION
Back To Top
Search