Sunday, February 19th, 2012
The vertical scroll position is the same as the number of pixels that are hidden from view above the scrollable area. If the scroll bar is at the very top or if the element is not scrollable, this number will be 0.
If you're using jQuery's scrollTop (usually it's used to ...
Posted in AJAX, How-to, Javascript, Jquery, Tutorials | No Comments »
Sunday, October 30th, 2011
I needed to add a fixed position widget on the side bar so that it stays at it's position no matter page scroll or not, I have searched around to find a plugin to do that but cannot find any good solution, i have achieved that by playing a bit ...
Posted in CSS, Javascript, Jquery, Wordpress | No Comments »
Saturday, October 22nd, 2011
Email address is mostly the essential form field and to make sure that user entered a valid email address you may need to validate user input before processing. To validate an email address using javascript/Jquery you may use the following code snippet, that validate in email address using regex.
Posted in Javascript, Jquery | No Comments »