For smart Primates & ROBOTS (oh and ALIENS ).

Friday, April 07, 2017

Load JavaScript with extra tags for example data-shr-siteid or data-sumo-site-id

Load Load JavaScript with extra tags for example data-shr-siteid or data-sumo-site-id You can use below code. <script> var loadScript = function(location, callback){   var fileRef = document.createElement('script');   fileRef.setAttribute('type','text/javascript');   if (callback) {    ...
Share:

load javascript with callback script

How to load JavaScript with callback script Sometime you needed to write a javascript that load and after load immediately call other it's related javascript code. It is called load javascript with callback script. How to achieve it? It is simple. below is the few lines of code. <script type="text/javascript">function loadmyScript(url,...
Share:

Friday, February 24, 2017

How to remove jQuery migrate from WordPress

How to remove jQuery migrate from WordPress. It is important to preserve jquery_migrate file in Admin section.  You can remove it from client section if it is not creating any issues, because it load unnecessary in client section.   Below are the only 4 lines of code which you needed to paste in your theme's function.php file. <?php add_filter(...
Share:

Wednesday, February 15, 2017

Java Script Handle name in Wordpress

Java Script Handle name in WordPress Here listed below most common Javascript handle name with path. Handle Path in WordPress utils /wp-includes/js/utils.js common /wp-admin/js/common.js sack /wp-includes/js/tw-sack.js quicktags /wp-includes/js/quicktags.js colorpicker /wp-includes/js/colorpicker.js editor /wp-admin/js/editor.js...
Share:

Tuesday, February 14, 2017

How to install Pure Chat

Real Life Coding Stuff
How to install Pure Chat If you want to use chat in your web application then Pure chat can help you. it is easy to use. To use Pure Chat just signup and click on "Account" menu (Top Position) Then click on "Websites". You will find a page with heading  Step...
Share:

Tuesday, February 07, 2017

How to avoid conflict with other JavaScript

How to avoid conflict with other JavaScript To avoid conflict with other javascript code we should use closure.  Example is listed below:  (function(){    //  Paste here JavaScript here    })(); ...
Share:

how to load javascript file from assets folder in shopify

How to load JavaScript file from assets folder in Shopify We all already know that Shopify assets folder's path is random and unique name for each Shopify store holders. If you upload some graphics files or JavaScript files or any other files in your Shopify store's assets folder, then how can you identify it's real pah? For this situation we...
Share:

Monday, January 23, 2017

FTP problem in Reliance Jio sim internet

Real Life Coding Stuff
How to fix FTP problem in Reliance Jio sim internet. When Reliance Jio 4G LTE Network scheme is a very good scheme for Digital India. We should give thanks to Reliance and Mukesh ambani that he gave us free Internet and voice pack for 6 months. Hope he will extend it for...
Share:

Thursday, January 12, 2017

load images using JavaScript

Another way to load images using JavaScript When you write code in JavaScriputer system. Below is the another way to load images from JavaScript code. <img src="data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" data-src="http://www.mysite.com/media/t1.png">   function initS() {    var myimg = document.getElementsByTagName('img');   ...
Share:

Wednesday, January 11, 2017

$(...).flexslider is not a function jquery flexslider not working

Are you facing JavaScript flexslider error "$(...).flexslider is not a function" or jquery flexslider not working? If jquery flexslider is not working or showing error in console ""$(...).flexslider is not a function".  If you do not want to see this error "$(...).flexslider is not a function" then use one instance of jquery.js file and...
Share:

Monday, January 09, 2017

add comment in shopify

How to add comment in shopify Using comment and endcomment tag you can add any one line multiple lines comments in Shopify code. below is the example: {% comment %} This is the comment in shopify and this will not execute by shopify server because this is comment. {% endcomment %}...
Share:

Saturday, January 07, 2017

Shopify cache issue

Shopify Cache issue You wondering that while working with Shopify e-commerce site code; your changes are not immediately showing; even your way of change code is right and there are no any error in your code. No worry and no problem, it is not your fault or not your code issue. this is the issues with Shopify CDN cache. Normally Shopify clear...
Share:

Failed to parse the output of adb version

Failed to parse the output of adb version If you are getting this below error message while compiling Android code: "Failed to parse the output of 'adb version': standard output was: error output was:ADB not responding. If you'd like to retry, then please manually kill "adb.exe" and click 'Restart'" The solution of this error; it is the time...
Share:

Load mp4 file

How to load .mp4 below is few lines of code: <video width="640" height="480" controls>  <source src="4.mp4" type="video/mp4">   Your browser does not support the video tag. </video> ...
Share:

Another way to load JavaScript

Another way to load JavaScript There are another way to load Javascript file in any page. use below code to load Js file. <script type="text/javascript">function dhtml5() { var eh= document.createElement("script");eh.src = "a1.js";document.body.appendChild(eh);}setTimeout("dhtml5();",8000);</script>...
Share:

Ads Inside Post

Powered by Blogger.

Archive