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

  Using your musicalinstrument class

Finally, create a Java test class that simulates using your MusicalInstrument class.  In your test class you should at a minimum: a) Construct 4 instances of your instrument, b) tune your instruments, c) print the name of your instrument d) print ..

  Build a simple text-based adventure game

Build a simple text-based adventure game. You can and probably should use our Missed Connections example as the foundation for your game.

  Program that allows two players to play tic-tac-toe

Implement a program that allows two players to play tic-tac-toe. Draw the game grid and an indication of whose turn it is (X or O). Upon the next click, check that the mouse click falls into an empty location,

  Initialize the array with the appropriate number of values

You are preparing for the Boston Marathon. In order to prepare, you need to train for 10 weeks, running an increasing number of miles per week, Initialize the array with the appropriate number of values

  Describe a scenario where you use a class

Describe a scenario where you use a class to obtain user input in a Java program. Explain whether the Scanner class or the JOptionPane class

  Write a program that illustrates packet routing at a router

Write a program that illustrates packet routing at a router. The program should accept as A text file containing a list of packets (with just destination addresses)

  Use either an array or a linked list

Use either an Array or a Linked List as an underlying data structure. Of course you need to create class Array or class LinedList in order to implement the methods like mergeSort(), merge(), etc

  Compare total annual compensation of two salespersons

compare the total annual compensation of at least two salespersons - The source code must demonstrate the use of Array or ArrayList.

  Create a method that when passed any sequence

Create a method that when passed any sequence in this way, checks all the numbers to find if any add up to the capacity of the box. If a solution is found

  Write a class house that correctly compiles and runs

Write a class House that correctly compiles and runs with the following TestHouse code. You cannot change a single thing in the TestHouse class,

  Write a program which adds two matrices

Write a program which adds two matrices together and displays the sum - Two arrays will contain user input, and the third array will be used to contain the sum of the two arrays.

  Write a class that has the subsequent fields

Write a class that has the subsequent fields: first name, last name, id number, department, payRate, hoursWork with constructors that accepts the subsequent values as arguments and assigns them to the appropriate fields.

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