by greg | Aug 26, 2020
If you want it to be site wide, go into the Divi > Theme Options > Integrations and add the following code to the head area of your site. <script> jQuery(document).ready(function() { jQuery(‘.et_cstm_video video').attr(‘controlsList',...
by greg | Jul 13, 2018
Bounce rate is single-page sessions divided by all sessions, or the percentage of all sessions on your site in which users viewed only a single page and triggered only a single request to the Analytics server. These single-page sessions have a session duration of 0...
by greg | Apr 12, 2015
jQuery select all boxes description. <?php /* You of course need to make sure the jQuery js file is being included. Here is one method of implementing this:<script src=”https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js”...
by greg | Sep 1, 2020
I needed a way to on clicking of an A tag scroll to top of a list that was getting updated. So here is the code that I came across. <script> jQuery(document).ready(function() { jQuery(‘a.link-designation').on(“click”, function () {...
by greg | Aug 24, 2020
So I ran into a rather interesting need of a client. They wanted to have a link to a downloadable file but also have a redirect to a thank you page. I found that I could add some data to the link that allowed me to write some jQuery and allow the link and thank you...