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

  Prepare an overloaded constructor

Prepare an overloaded constructor that provides values for each field. Also provide get methods for each field. Save the file as Patient.java.

  Creates a carloan class object

Creates a CarLoan class object, named cl01. Create a text file that contains the whole dollar customer payment amount values.

  Write a class called point for the two-d environment

Write a class called point for the 2-D environment. Start from the following code, and add Action Listener to make it functional. Write a class called circle, which inheres the above point class.

  Write the output to a file with that user-supplied name

Create a program called CalcWeightedAvgWithExceptions, and use try-catch-finally blocks - write the output to a file with that user-supplied name

  Prepare java program the displays the state bird and flower

Write a Java program the displays the State bird and flower. The program should prompt the user to enter a State and print both the State bird and flower.

  Determine if strings are equal

Complete the recursive method match in the code below which will determine whether or not two strings match.

  Import javaioimportjavautilscannernbspnbsp year3000

import java.io.importjava.util.scannernbspnbsp year3000 programnbspnbsp driver program for the dateinterface and mydate

  How can i connect from an applet to a database on the server

1) How do I create an applet that accepts an unlimited number of parameters? 2) How can I connect from an applet to a database on the server?

  Prepare executable programs a translate program and a

prepare executable programs. a translate program and a dictionary program. the programs will be written in any

  Write down a java program which prints out all 92 solutions

write a java program which prints out all 92 solutions of the 8-queen problem but modify the program to display only

  Create a collection of objects of type string

simple Java program that demonstrates Immutable objects and Builder pattern concepts -

  Write a method called drawspokes to draw the spokes

Write a method drawForest that draws the trees using the method drawTree from Part B. The method takes as a parameter the number of trees to draw

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