Skip to main content

Posts

Showing posts from February, 2017

jQuery‭ parents() method

What is jQuery‭ ‬: JQuery is a JavaScript library which is small, quick, with tons of features that makes things such as animation, event handling and manipulation in web browser easy to use and handle. 1-jQuery is a fast and concise JavaScript Library created by John Resig in‭ ‬2006‭ ‬with a nice motto‭ ‬-‭ 2-Write less,‭ ‬do more.‭ 3-jQuery simplifies HTML document traversing,‭ ‬event handling,‭ ‬animating,‭ ‬and Ajax interactions for rapid web development. Following feature of jQuery‭ ‬: 1-DOM manipulation‭ ‬−‭ ‬The jQuery made it easy to select DOM elements,‭ ‬traverse them and modifying their content by using cross-browser open source selector engine called Sizzle. 2-Event‭ ‬Handling‭ ‬:‭ ‬The jQuery offers an elegant way to capture a wide variety of events,such as click,over event, 3-Ajax Support‭ ‬: ‭ jQuery support ajax technology, 4-Lightweight‭ ‬:he jQuery is very lightweight library‭ ‬-‭ ‬about‭ ‬19KB in size‭ ( ‬Minified and gzipped‭ )‬. 5...

jQuery‭ parent() method

What is jQuery‭ ‬: JQuery is a JavaScript library which is small, quick, with tons of features that makes things such as animation, event handling and manipulation in web browser easy to use and handle. 1-jQuery is a fast and concise JavaScript Library created by John Resig in‭ ‬2006‭ ‬with a nice motto‭ ‬-‭ 2-Write less,‭ ‬do more.‭ 3-jQuery simplifies HTML document traversing,‭ ‬event handling,‭ ‬animating,‭ ‬and Ajax interactions for rapid web development. Following feature of jQuery‭ ‬: 1-DOM manipulation‭ ‬−‭ ‬The jQuery made it easy to select DOM elements,‭ ‬traverse them and modifying their content by using cross-browser open source selector engine called Sizzle. 2-Event‭ ‬Handling‭ ‬:‭ ‬The jQuery offers an elegant way to capture a wide variety of events,such as click,over event, 3-Ajax Support‭ ‬: ‭ jQuery support ajax technology, 4-Lightweight‭ ‬:he jQuery is very lightweight library‭ ‬-‭ ‬about‭ ‬19KB in size‭ ( ‬Minified and gzipped‭ )‬. 5...

jquery slide down function

slideDown function: The . slideDown () method animates the height of the matched elements. This causes lower parts of the page to slide down, appearing to conceal the items.can be supplied to indicate durations of 200 and 600 milliseconds, Demo link : http://freeteachnology.hol.es/slidedown/ Code link : https://drive.google.com/open?id=0BxmTZPVcu72fSUxycV9FT1hDZjg Syntax : $(element).slideDown (speed,easing,callback); follwoing parameterr of slideUp element : 1-spedd, 2-easing, 3-callback, 1-speed : specifies speed of slide down effects, speed used milesecond,slow,fast parameter pass 2-easing :specify speed of slideDown element 1-swing-move slower at the begining/end but faster at middle, 2-linear – constant speed. 3-callback : slide down function excuted call callback function. Follwoing file structure create : 1-header.php, 2-footer.php, 3-index.php 1-header.php file include bootstrap links well as jquery link, Code :...