Fade out the element at a normal speed using linear easing

Assignment Help JAVA Programming
Reference no: EM131599467

Jquery

Add the following html code to the page before the <hr> and <footer>:
<div id="newsletter">
<p><a href="#" id="signuplink"><span id="openclose">+</span> Sign up for our newsletter</a></p>
<form name="newsSignup" method="post" action="thanks.html" id="newsSignup">
<p><label>Name: <input type="text" name="uname"></label></p>
<p><label>Email address: <input type="email" name="email"></label></p>
<p><input type="submit" value="Sign Up"> </p>
</form>
</div>
Hide the newSignup form when the page loads.
Add a click event to the signuplink anchor tag to do the following:
Use the slideToggle function to show or hide the newsSignup form.
If the openclose span contains a +, change the + to a -.
Otherwise, change the - to a +.
Be sure to cancel the link default action.
Add a hover action to the slogan element to do the following:
On mouseover:
Fade out the element at a normal speed using linear easing
Once the text is faded out (hint, use a callback function), change the text to 'Hand Picked Just for You' and then fade it in slowly using the swing easing.
On mouseout:
Fade out the element at fast speed using swing
Once it is faded out, change the text back to 'The Power of Flowers' and fade in slowly using linear easing.
Add the following element to the bottom of the html page below the footer:

<img id="rose" src="rose.jpg" alt="Rose">
(image file attached above)
Add the following to the css file to position the rose as an absolute element inside the container div with opacity 0:

#rose {
position: absolute;
right: -100px;
top: 20px;
opacity: 0;
}
#container {
position: relative;
}

Add animation in the document.ready function to move the rose element to a position of right: 100px and opacity: 1. When the page loads the rose should move into position from the right side and fade in slowly using the swing easing function.
Add a submit event to the form to do the following:
Display an alert message: "Thank you for registering"
Hide the newsSignup form
Fade the signuplink anchor tag to 30% opacity
Stop the default action to submit the form

Reference no: EM131599467

Questions Cloud

Compute the direct materials price variance : Compute the direct materials price variance and the direct materials quantity variance. Indicate whether each variance is favorable or unfavorable
Error bound for confidence interval : a. Find the point estimate and the error bound for this confidence interval.
Percentage follows a normal distribution : On average, 35 percent of beachcombers bring an umbrella to the beach. Suppose this percentage follows a normal distribution with a standard deviation of 8 perc
What is the median entrée price : The price of entrées at your favorite restaurant is normally distributed with a mean of $15.00 and a standard deviation of $3.00.
Fade out the element at a normal speed using linear easing : Add animation in the document.ready function to move the rose element to a position - Hide the newsSignup form
What is the average vehicle size : a. What is the average vehicle size assuming each vehicle is filled to capacity?
What is the probability that you grab all green apples : A basket of apples contains 2 Red Delicious, 3 Macintosh, 3 Granny Smith, and 4 Golden Delicious. You grab 4 apples (without replacement) to make a pie.
Did sorenson job of placing dorothy in foster homes : How do you feel about the way Mr. Sorenson, the man from the Children's Aid Society, did his job of placing Dorothy in foster homes? Explain your response.
Relationship between prostate cancer and sunlight : what does this indicate about the possibility of a linear relationship between sunlight and prostate cancer levels?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write and run a java program

Write and run a Java program which allows the user to input two doubles and outputs the greater of the two?

  Public float usefulload()

public float usefulLoad() // this is the grossWeight - emptyWeight public float usefulLoadWithFuel( in gallons ) // this is the useful load - gallons x 6. The programmer user will pass in the number of gallons on board.

  Write a java applet for grade of gas in costco gas station

Write a java applet (not a java application program) for costco gas station. The applet will first ask you whether you are a costco customer, then the grade of gas you want to use.

  Simple single-server queue has one line of waiting

simple single-server queue has one line of waiting customers and one server who wait on customers. suppose that

  Determine the type of moped

Write a driver class called MopedRental. This class should perform the following: asks the user to enter the size of the moped, the day of the week and the number of hours rented, creates the Moped object, based on the size, and displays the input..

  Project socket programming - udp objectives - learn socket

project socket programming - udp objectives - learn socket programming in java udp-nbsp cement your understanding of

  Java application prompt user to put in integer from keyboard

Write a java application that performs the following task: prompt user to put in an integer from the keyboard, search for the user input from the array created in step 1.

  How many data items are within one standard deviation

How many data items are within One Standard Deviation - Generate a list of 100 values between 0 and 100 using the generator (int)(Math.random()*101).

  Explain how to declare and manipulate data in arrays

Please respond to all of the following prompts: Explain how to declare and manipulate data in arrays. Explain the meaning of "array index out of bounds".

  What is server-side and client-side scripting

What is Server-side and Client-side scripting - Explain the differences between server-side and client - side scripting languages.

  Write an application named us insurance

Write an application named UseInsurance that uses an abstract Insurance class and Health and Life subclasses to display different types of insurance policies and the cost per month.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd