<script> var interval = setInterval(Tinterval, 5000); $('body').on('click', function() { ...
Sunday, 25 December 2016
How to close div clicking outside of it ?
satish mallick
December 25, 2016
<body> <div id="text">Hello</div> </body> <script> $(document).on('m...
Friday, 16 December 2016
How to disable trigger click after first click
satish mallick
December 16, 2016
NOTE: Multiple clicks on <a> tag, trigger fires only one time. <a class="active">One</a>...
Wednesday, 14 December 2016
JQuery count current div position on mouse enter.
satish mallick
December 14, 2016
NOTE:- We can use the index() method on mouseenter() : <div class="sub"> <div class=...
Removing a specific class when window is resized
satish mallick
December 14, 2016
NOTE :- There's no need to use addClass('') or removeClass('') . <div class="pane active...
How can i delay a function
satish mallick
December 14, 2016
Delay a Function 💠Use setTimeout() ; <script> setTimeout (satish,7000); function satish(){ c...
Thursday, 29 September 2016
Smoothly scroll to an element without a jQuery plugin
satish mallick
September 29, 2016
===========Scroll to a specific element=============== $('html, body').animate({ ...
How to detect a click outside an element?
satish mallick
September 29, 2016
$ ( window ). click ( function () { //Hide the item if visible }); $ ( '#item' ). click ( function ( event ){ eve...
apply CSS to half of a character using css
satish mallick
September 29, 2016
<span class="half" data-content="S">s</span> <span class="half" data-content="A...
Friday, 23 September 2016
How to resize the Google reCAPTCHA ?
satish mallick
September 23, 2016
<div class="g-recaptcha" data-theme="light" data-sitekey="XXXX" style="transform:scale(...
Thursday, 26 May 2016
How can I offset scrollTop to take into account the height of a sticky header?
satish mallick
May 26, 2016
$ ( 'html, body' ). animate ( { scrollTop : element . offset (). top - $ ( '#header' ). height (); }, { duration : 4...
Wednesday, 25 May 2016
jQuery fadein and fadeout slider See the Pen Custom fadeIn and FadeOut slider with next prev button by satish mallick ( @satis...
Friday, 20 May 2016
instrumental-music-bar using css3
satish mallick
May 20, 2016
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> ...
Wednesday, 18 May 2016
jQuery-Image-ToolTips
satish mallick
May 18, 2016
<!DOCTYPE HTML> <html> <head> <title>jQuery-Image-ToolTips</title> <script type="text/javas...
Saturday, 23 April 2016
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> ...
Thursday, 31 March 2016
onselect image change in jquery
satish mallick
March 31, 2016
<img src="" name="image-swap"> <select name="img-change" id="img-change"> ...
Saturday, 23 January 2016
Count characters in textarea
satish mallick
January 23, 2016
<!DOCTYPE html> < html > < head > < script src =" http://code.jquery.com/jquery-1.5.js "> </...