Category: Web Development
Javascript | How to lighten a color by some percentage
We can lighten any color using a custom javascript function: function shadeColor(color, percent) { var R = parseInt(color.substring(1,3),16); var G = parseInt(color.substring(3,5),16); var B = parseInt(color.substring(5,7),16); R = parseInt(R * (100 + percent) / 100); G = parseInt(G * (100
Allow WordPress to Duplicate Page or Post
In WordPress, sometimes a situation occurs when we need to recreate a page with very similar content or design of another page. Then instead of recreating a page from scratch we can duplicate or clone a page and can modify
Captivate | Remove strange captivate icon from text
We had faced an issue of captivate icon displaying in quiz question while viewing it in browser : We can resolve this issue by using these two alternative methods : 1. First way is if we give equivalent space around
WordPress | Using PHP Session
Many times it may happen that you create session variables in a particular code of the WordPress site and you are not able to access that session variable in any other part of the site except in your custom code.
Gravity Forms | ADF/XML format – notification getting html tags
ADF XML FORMAT ADF XML format stands for Auto-lead Data Format XML that is an automotive retailing industry standard data delivery format for import and export of automotive customer leads. This format is used as a way to format the
Devextreme | Invoke Custom Loader on click of any button
Invoke Inbuilt Custom Loader in Devextreme Mvc datagrid on ‘Save’ click from Insert popup. In Devextreme Mvc datagrid, I used the Popup mode for adding new data with the following way to make api controller call on Insert Action. Below
CakePHP | Get user profile information through Gmail API (2.2.0)
Steps to extract user profile information through Gmail API (2.2.0) in CakePHP: 1. Set up developer test account inside google API developer console: Use https://console.developers.google.com/ link to open developer console. Add new project inside your developer console and enable the
WordPress | How To Add Custom Color Picker in WordPress Custom Options Panel
While building options panel in functions.php of your child-theme, we can create our custom color picker without using any plugins. We have to follow these steps and for this color picker : 1. Add Canvas <canvas id=”image_canvas” width=”246px” height=”210px”></canvas> 2 .
Some Useful Features from jquery and Html5
1. Data attribute : This is the new attribute in html5. Using data attribute we can store custom data in any of the html elements. Data attribute consists of a prefix “data-” and a unique name appended to the prefix.
