yeah if you can create a test case it would be greatly appreciated. :) I know it can be done with just plain css, but I wanna figure this out so I can play around with it for other things too.
On Aug 31, 1:47 pm, Brad <[EMAIL PROTECTED]> wrote: > Chris, > > I don't have access to a public test server to create a demo, but I'll > see if I can create a test case. > > You might also want to look at the .hover command. > > Can't you do this with normal CSS, or must you have a fancy fadein/ > fadeout effect? > Have you considered the the case where someone rolls over the link > quickly? Any fade in or fade out will have some execution time > associated with it. > > Brad > > On Aug 31, 10:42 am, chris <[EMAIL PROTECTED]> wrote: > > > thanks for your help but I can't get it to work. > > > Anyway you can make a test case or something for me, I am just looking > > for a link to have a background color and when you rollover the link > > it fades in a new background color, than on rollout it fades that > > background color out. > > > On Aug 30, 8:09 pm, Brad <[EMAIL PROTECTED]> wrote: > > > > Untested, but it may be as simple as something like this: > > > > $(".classname").mouseover(function(){ > > > $(this).fadein(); > > > }).mouseout(function(){ > > > $(this).fadeout(); > > > }); > > > > Look at the page examples for fadein and fadeout at docs.jquery.com. > > > If you need more control over the effects or want different fadein and > > > fadeout colors you may need to use the "animate" effect instead. > > > > On Aug 30, 10:56 am, chris <[EMAIL PROTECTED]> wrote: > > > > > anyone have a script or tutorial that just targets a .class so > > > > on :hover it fades in a background color than fades out a background > > > > color on roll out. > > > > > thanks :)