It is easy to setup on the page.
Few options and methods are available for customization.
You can define your own action when the user performs pull down action on the web page.
It has various options for customizing the default behavior.
Mainly the external script or CSS files are added in the
<head> section or at the end of the
The included script or CSS files take the time to load and it may slow down your site if they are more in numbers.
The setTimout() method execute the statement only once but setInterval() method execute repeatedly until the interval is not being cleared.
In this tutorial, I am using the setTimeout() method to stop the page from redirect as soon as the button gets clicked.
In this tutorial, I show you some jQuery plugins by using it you can capture the user signature on your web page.
They add a container on the web page where the user can draw its signature using mouse pointer.
I discuss the following plugins –
- Signature Pad
- jQuery UI Signature
You traverse on the Array and concat value to a variable with a separator for string conversion if you are not familiar with methods.
But before this, it is not supported in most browsers because of security reasons. You need to ask the user to press
CTRL+C to copy the currently selected text.
The ZeroClipboard library uses invisible Adobe Flash movie to copying content to Clipboard. It works well with most browsers.
In this tutorial, I show How you can copy content to the clipboard with or without Flash.
In this tutorial, I show How you can check whether an Array already contains a specific value or not.
This requires within the program in some cases like –
- Stop new value from insert if it already exists in an Array.
- Execute script when the Array contains the particular value.
If you are familiar with PHP, where you can use the in_array() function to search value in the Array and its returns the Boolean value ( TRUE or FALSE ).
Sometimes you may want to take more control over your user Browser when he/she opens your website in a Browser Window.
For example – you want to know when the user closes the Browser Tab and execute your code.
Or you want to run the Animation only when the user is active otherwise stop it.
This kind of functionality you have seen in the websites or PTC sites which provide ads viewing to the users. They only count the ads view when the user is active on their website until given time otherwise they cancel the view after the specific time.