Need Help to create jQuery fading marquee

Asked By 0 points N/A Posted on -
qa-featured

Hello Everyone,

I am looking for a code to create jQuery fading marquee.

I have been searching the web but couldn't find the code for fading effects.

I know this can be done by using flash, but I don't want to use it.

Thanks in advance for help.

SHARE
Answered By 0 points N/A #168834

Need Help to create jQuery fading marquee

qa-featured
Hi,
 
If you want fading for jQuery you can you .fadeIn([duration][complete]) and .fadeIn(options).  With these you can add effects on your pictures and text by making them transparent.  These two functions are the basic property used for adding a fading animation using jQuery.  Here's a sample of the code for fading marquee:
 
<div id="SelectHere">
      Select here
    </div>
    <img id="flowers"src="flowers.jpg"alt=""width="110"height="153"/>
    Picture is initially now shown. Click it to make it appear slowly.
    $('#SelectHere).click(function() {
      $('#flowers).fadeIn('slow', function() {
      });
    });
 
In the code SelectHere is the block where your image is located.  You can name it differently.  The image I sampled is a flower in jpeg form and similary, I assigned id=flower to identify that the image to have an animation is the flower.jpg.

Regards,

Taylor
 

Login/Register to Answer

Related Questions