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>
If a variable is declared outside a function, it’s GLOBAL. If it’s declared inside a function, it’s LOCAL.
Example of global variables:
var levelThreshold = 1000;
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.
What are keys of Mass Paypal through API
- 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.
- 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.
- Payments processing can take from a couple of minutes to several hours.
- 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