Hi all want to change the animate property of jquery now it is animating from left to right but i want to fade in effect to replace

function which i use

function goto(id, t){

    $('#swiper').animate({"left": -($(id).position().left)}, 2000); 

}   
Member Avatar for LastMitch

Hi all want to change the animate property of jquery now it is animating from left to right but i want to fade in effect to replace

Does that code work? You didn't include a html code.

Read this:

http://api.jquery.com/animate/

At least there is a html code from the link to see it work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.