Jquery Project: Nvar Hawzhin Araa Goran Hanar Ahmed Zanyar Salah
Jquery Project: Nvar Hawzhin Araa Goran Hanar Ahmed Zanyar Salah
Araa Goran
Hanar Ahmed
Zanyar Salah
JQuery Project
• We used
• 1.JQuery HTML
• 2. JQuery Effect
1. JQuery HTML
we used some Methods
which are (Keyup, Each ,
text ,val, Fadeout , show)
Keyup Method() –
The keyup event occurs when a keyboard key is released.
The keyup() method triggers the keyup event, or attaches a function to run when a keyup event occurs.
$(selector).keyup() or $(selector).keyup(function).
The val()
method returns or sets the value attribute of the selected elements.
When used to return value:
This method returns the value of the value attribute of the FIRST matched element.
When used to set value:
This method sets the value of the value attribute for ALL matched elements.
$(selector).val() or $(selector).val(value) or $(selector).val(function(index,currentvalue))
-FadeIn Method()
The fadeIn() method gradually changes the opacity, for selected elements, from hidden to visible (fading
effect).
$(selector).fadeIn(speed,easing,callback)
• -Each The each() method
specifies a function to run for each matched element.
Syntax $(selector).each(function(index,element))
-FadeOut The fadeOut() method gradually changes the opacity, for selected elements, from visible to hidden (fading effect).
$(selector).fadeOut(speed,easing,callback)
-Animate
The animate() method performs a custom animation of a set of CSS properties.
This method changes an element from one state to another with CSS styles. The CSS property value is changed gradually, to
create an animated effect.
(selector).animate({styles},speed,easing,callback)
-Slideup
The slideUp() method slides-up (hides) the selected elements.
$(selector).slideUp(speed,easing,callback)
-Slidedown
The slideDown() method slides-down (shows) the selected elements.
$(selector).slideDown(speed,easing,callback)
THANK YOU!
ANY QUESTIONS ?