How to create webpage using jquery that has content fading in and out?
-
How do I create something similar to this: http://yourprofolio.com/zachkrasner are there any jquery tutorials that can help me learn how to do this stuff?
-
Answer:
jQuery fadeIn in Action: <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/lib… <script type="text/javascript"> $(document).ready(function(){ $('body').hide(); $('body').fadeIn(2000); }); </script> </head> <body> Hello! You just saw me use the fadeIn function! </body> </html> Fading back out… <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/lib… <script type="text/javascript"> $(document).ready(function(){ $('body').hide(); $('body').fadeIn(2000); $('body').fadeOut(5000); }); </script> </head> <body> Hello! You just saw me use the fadeIn function! </body> </html> ---------- Hope this helps.
Dennis at Yahoo! Answers Visit the source
Other answers
You've already got a great answer up there, but if you are looking for tutorials on jQuery I wuld recommend w3schools. They cover just about everything and allow you to experiment with code to see how your changes effect the outcome. http://w3schools.org And once you get a handle on jQuery, instead of needing to ask for help, you would be able to simply look at the source code of sites that have functionality you are interested in and follow the logic.
T. Adam Price
Related Q & A:
- How to create div that can be dragged up to reveal content?Best solution by Stack Overflow
- How to Search using jQuery ASP.Net?Best solution by Stack Overflow
- how to set value in ckeditor using jquery?Best solution by Stack Overflow
- how to submit form using jquery mobile?Best solution by Stack Overflow
- how to parse a xml file using jquery and phonegap?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.