JQuery Programmer Question: Download JQuery Programmer PDF

How can images be made to appear scrolling one over another?

Tweet Share WhatsApp

Answer:

Jquery provides the user with the ability to change the attributes of a property dynamically. The jquery slide method can be used to change the height of elements gradually. This can be used to give the scroll effect of an image over image.
The jquery comprises of the following slide methods:

1. $(selector).slideDown(speed,callback)
2. $(selector).slideUp(speed,callback)
3. $(selector).slideToggle(speed,callback)

- The speed parameter is used to effect the speed of change of the jquery. The parameters for it can be slow, fast , normal and time in milliseconds. The parameter of callback is used to refer to the name of the function to be executed once the completion of function occurs.

Download JQuery Programmer PDF Read All 201 JQuery Programmer Questions
Previous QuestionNext Question
Can we use jQuery to make ajax request?What is the advantage of using protocol less URL while referencing jQuery from CDNs?