Simple and easy jQuery file type extension validation method. Check and validate file type extension in jQuery. Useful for contact form, job apply form to upload and submit valid and allowed file.
Designers and Developers generally go with traditional uni-platform font families ie. Arial, Helvetica, san-serif. But if we use a custom font in design it is also easy to integrate in our webpage. Method 1 – @font-face in CSS @font-face {… Continue Reading →
WordPress widgets is a great feature for displaying your content in sidebar. It is easy to create by extending WP_Widget predefined wordpress class. Constructing Widget class your_widget extends WP_Widget { public function __construct() { $this->WP_Widget( ‘your_widget_unique_id’, __(‘Your Widget Title’), array(‘description’… Continue Reading →
Previously we had to use <table>, <tr>, <td> tags to make the image or content vertically middle. But as the table structure is heavy compare to DIV based structure, we have to find alternative for making the content vertically middle…. Continue Reading →
Why should we change wp prefix? Database of wordpress is a core of your wordpress site or blog. All your posts gets stored in a systematic manner in wordpress’s database table structure. Although wordpress is more popular CMS so the… Continue Reading →
‘Navayan Subscribe’ allows your visitors to easily and quickly subscribe to your website with double opt-in process, custom email templates, post/page notifications, spam protection. It can be used as a sidebar widget.
There are situations comes when you want to handle multiple databases but in wordpress environment. The wordpress database configuration is configured in wp-config.php file, which holds defined variables like DB_NAME, DB_USER, DB_PASSWORD, DB_HOST. Where we have to define wordpress database… Continue Reading →
There are lots of different ways to create captcha image using PHP. But what we forget is our USER. Now a days I found that Google’s re-captcha is very difficult even to read. Most of the time users dis-appears from… Continue Reading →
Implement random foreground and background color change using JavaScript, using Math, seconds. See live examples.
The Prototype javascript library is used for various purposes like in-page popup, drag-n-drop etc. Recently while working on one of my Rails project, I came to know that there is a JavaScript NULL object error in base.js with ‘Dialog.cancelCallback()‘ function…. Continue Reading →
© 2024 Web Design Colors — Powered by WordPress
Theme by Anders Noren — Up ↑