Just in case anyone out there finds this post like I did and is still a
little lost, here's what I finally figured out after much trial, error, and
research (my jQuery knowledge is still limited so there are still a lot of
basic methods I don't know).

$('#pauseBtn').toggle(function() {

                $('#headlineContent').cycle('pause');
                $(this).attr({ src: "images/pause_inactive.gif"});

                }, function() {

                $('#headlineContent').cycle('resume', true);
                $(this).attr({ src: "images/pause_slide.gif"});
        });



Eric Greene wrote:
> 
> 
> Great thanks alot
> 
>> Here's a couple demos:
>>
>> http://www.malsup.com/jquery/cycle/pause.htmlhttp://www.malsup.com/jquery/cycle/hover.html
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Cycle-Plugin---play-pause-button--tp18349719s27240p21445539.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to