Search In
Sometimes we need to display ads in our application.To display the multiple images one after another in some time interval write the following code:
Create a customTimerTask class that extends the TimerTask class
public class customTimerTask exte
We can add taxonomy to our custom post type.
Adding taxonomy means adding new category option in our custom post type.
We use taxonomy to basically categorize the data.
We create the groups of the similar type.
To add custom taxonomy we use this
Adding a button on an OpenERP view is very easy and calling a function on it too. For example I created a function to add cartage amount on the sales order, I created a field to add cartage amount on it and then on button click it will be added to th
Create and remove remote branch on GIT : As we know that the git is used to collaborate between team. Developers can share the code using git by sitting anywhere on this word, for this the code should be exist in a central repository which is accessi
Example of $('div/') in jQuery:
$('<div/>').addClass('test');
Example of $('div') in jQuery:
$('div').addClass('test');
Explanation of difference between $('div') and $('<div/>') in jQ
Hello Reader's, If you want to make folder zip functionality through website then PHP give you to do this. PHP uses ZipArchive() to create the zip files from the destination path provided. So lets get started working creating a zip folder.
To use a background worker class in C#
1- Create an Instance of Background Class
BackgroundWorker bgw=new BackgroundWorker();
2- Create an event handler for the background worker's DoWork event
private void backgroundWorker_DoWork(object s
Bootstrap badges.
Badges can be easily created by adding a predefined class badge to links of nav bar in Bootstrap.You can customize it further according to your requirement.
<a href="#">Inbox <span class="badge">42</span></a&g
Images shapes.
In bootstrap,we can modify shape of image just by adding pre-defined classes as img-rounded,img-circle,img-thumbnail.It saves a lot of time of developer as prevents them from long and confusing coding for creating different shapes of
If you have requirement to close window on button click, for example closing popup window, you can use below code for same:
<input type="button" id="myCloseButton" onClick="window.close()" />
Here we have created a button and added function