It took me a little long to get this , which i wanted. This is made up of simple Jquery and CSS. I have mixed up few things which i got from internet and after modifications and merging , i got what i want. Hope This might help you.   […]

Javascript / Jquery Session Logout Timer Clock for Ideal user, ...

jQuery Core 1.9 Upgrade Guide Overview jQuery Migrate Plugin Changes of Note in jQuery 1.9 .toggle(function, function, … ) removed jQuery.browser() removed .live() removed .die() removed jQuery.sub() removed .add() .addBack( selector ) replaces .andSelf() .after(), .before(), and .replaceWith() with disconnected nodes .appendTo, .insertBefore, .insertAfter, and .replaceAll AJAX events should be […]

jQuery Core 1.9 Upgrade Guide

/*Element auto scroller*/ function scroll_to_bottom(obj,speed){ //$('html, body').animate({scrollTop: $('html, body')[0].scrollHeight}); if(!obj){ obj = $('html, body'); } if(!speed){ speed = ''; } obj.animate({scrollTop: obj[0].scrollHeight},speed); } function scroll_to_top(obj,speed,top_margin){ //$('html, body').animate({scrollTop:0}); if(!obj){ obj = $('html, body'); } if(!speed){ speed = ''; } if(!top_margin){ top_margin = 0; } obj.animate({scrollTop:top_margin},speed); } usage $(document).ready(function(){ var obj = […]

Few useful js / jquery functions in day today life

$(document).ready(function(){ jQuery.validator.addMethod( "intgrt0", function(value, element) { return value.match(/^([1-9]{1}[0-9]*)$/); }, "Please enter a quantity greater then 0 & it should not start with 0" ); /*email*/ jQuery.validator.addMethod( "emailproper", function(value, element) { return value.match(/^[A-Za-z0-9]+\w*([\.-]\w+)*@\w+([\.][A-Za-z0-9]{2,3})+$/); }, "Please enter proper email like abc@domain.com" ); /*Letters only*/ jQuery.validator.addMethod("lettersonly", function(value, element) { return this.optional(element) || /^[a-zA-Z\s]+$/i.test(value); […]

jquery validate addon functions

Recently i have seen some error in jQuery on WordPress 3.2.1. Inside theme folder on header.php if i add $(document).ready(function(){ alert(‘Pragnesh Karia’); }); Woilaa…..No alert found. I have searched on google i found error was due to ‘$’. closed. That’s it. In WordPress, the$() syntax is always used by other […]

JQuery is not working in wordpress – Solution

Awesome JQuery Tricks Awasome JQuery Tricks http://code.google.com/p/editable-jquery-tree-with-php-codes/ http://labs.abeautifulsite.net/projects/js/jquery/fileTree/demo/ http://www.mdgart.com/2009/03/15/persistent-drag-and-drop-tree-with-jquery-php-and-mysql-part-1/ http://www.mdgart.com/jQuery/Simple-Persistent-Tree/initial_test.php http://www.examplet.buss.hk/jquery/simple.tree-node.php http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ ————————————– Amazon API AWS https://mws.amazonservices.com/scratchpad/index.html

Awesome JQuery Tricks