2011/11/3 Rohit Mehta <rohitrmeht...@gmail.com>:
> Hiw can you create this effect using jquery?
>
> http://appear.dk/uk/
>
> The scroll and click animation effect.

There is not too much extra on it. There is a transparent logo in the
background. On the foreground there is another box with an image whose
opacity is animated.

> Also, how to switch function using .toggle() in jquery?

I don't really understand the question.

$(element).toggle(oddClickFunction, evenClickFunction);

oddClickFunction would be called on every odd clicks, while
evenClickFunction for every even clicks. If you want to remove them,
just unbind the click handlers from the element.

-- 
Poetro

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/jsmentors@jsmentors.com/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/jsmentors@googlegroups.com/

To unsubscribe from this group, send email to
jsmentors+unsubscr...@googlegroups.com

Reply via email to