jquery is easier to write than JS, but you have to learn JS, do not know whether the blog park like to do jquery notes of the park friends? What if there are a variety of jquery tips, answers, and comments to share? The Code Nest Summary notes are as follows, hope to be helpful to you
jquery swipe Sticky
Onclick= "$ (' body,html '). Animate ({scrolltop:0},1000);" (a jquery can be a sliding top)
Slidetoggle Repeating animations (the mouse triggers an animation recurrence when the mouse moves through the element multiple times in the following pull navigation) Workaround:
nav.hover (function() { $ (this). Find ("ul"). Slidetoggle (+); });modified tonav.hover (function() { $ (this). Find ("ul"). Stop (true, false ). Slidetoggle (+); });
jquery concatenating :$ (#box) . CSS ("Color", "Red") CSS ("Color", "red"). CSS ("Color", "red")
multiple elements [node] one event, Anchor point smooth scrolling$ (function () {$ ('#m1, #m2, #m3, #m4, #m5'). Click (function () { $ (' body,html '). Animate ({scrolltop:$ ($.attr (this, ' href ')). Offset (). Top},1000);return false;})
- jquery or programming needs to remember or say the words you need to know:
System Highlight Prominentvisited accessed by active activeFocus Supplier SuppliersCost Scenic LandscapeUnit Unit Volume volumeReply Reply Weight weightIntegral complete daily dailyHotel Notices NoticePlace Places Summary summaryleave leave Select selectionOption Options Methoddomain scope prefix prefixautoload Auto-load timeout timeout settingSetInterval Set the interval letterdatatype data type definitions definitionRefresh HistoryCalendar Transparent TransparentSlide sliding Toggle ToggleFast Slow slowConsole console disabled disabledAuthor author extend extensionparam parameter Constructor constructorApply to Privatebounding surround cache cacheTarget Destination Handler processorSelector Select radix cardinalityScript Fields Fieldvertical-align Vertical alignment nonbreaking space nonbreaking spacesSpeed easing releaseDuration Duration
jquery cloud notes sharing, tips, questions, answers