Sliding page elements: With jQuery you can create a sliding effect on elements. jQuery has the following slide methods: slidedown() slideup() slidetoggle() Hiding and Showing elements: With jQuery, you can hide and show HTML elements with the hide() and show() methods: The optional speed parameter specifies the speed of the hiding/showing, and can take the following values: "slow", "fast", or milliseconds. The optional callback parameter is a function to be executed after the hide() or show() method completes (you will learn more about callback functions in a later chapter). Fading elements: The jQuery fadeIn() method is used to fade in a hidden element. The optional speed parameter specifies the duration of the effect. It can take the following values: "slow", "fast", or milliseconds. The optional callback parameter is a function to be executed after the fading completes. Toggling elements: The jQuery slideToggle() method toggles ...
Comments
Post a Comment