Ask your Question

Write to us !

Ask Question !

Simple Accordion in jQuery, Accordion in jQuery

I'm sharing simple jQuery Accordion which can be used anywhere in your project where you want to be accordian.

    <title>Menu Slide Accordian</title>
    <script type="text/javascript" src=Read More

Javascript:Knowing the scope of your local and global variables

If a variable is declared outside a function, it’s GLOBAL. If it’s declared inside a function, it’s LOCAL.

GLOBAL variables

Example of global variables:
var avatar;
var levelThreshold = 1000;

These are global variables; they’re accessible everywhere in your JavaScript code.

LOCAL variables

Example of local variables:Read More

Preventing ghost click when binding touchstart and click(Ghost clicks in mobile browsers)

What is ghost Clicking?
In any touch device, mobile browsers emulate click events when the screen is touched.


What happend when the screen is taped?

A touchstart event is fired as soon as a finger touches the screen.A touchend event is fired as soon as the finger leaves the screen, then the browser waits around 300ms for another tap.If not, a click event is fired. This is the ghost click.


Read More

What are keys of Mass Paypal through API

  1. When we send payment with email address PayPal takes the payment amounts from your account and attempts to put them into the recipients' PayPal account.
  2. If the recipients do not have PayPal accounts, PayPal notifies them that a payment is available and they must create a PayPal account to receive the payment.
  3. Payments processing can take from a couple of minutes to several hours.
  4. PayPal will temporarily hold the total monetary value of the mass payment, plus associated fees, until processing... Read More

Adjust Server Time

Sometimes the time set on your server isn't accurate to what your local time is. If you can't change it, you can adjust it yourself.


$today = date('Y-m-d-G');

$today = strftime("%Y-%m-%d-%H", strtotime("$today -5 hour"));

If your server thought it was 12 midnight, but it was really 7 pm, this will roll the $today variable back five hours to be correct.



... Read More