troubleshooting Question

Pause Jquery Cycle when Fancybox opened

Avatar of flashjordan
flashjordan asked on
3 Comments1 Solution1581 ViewsLast Modified:

I have a little issue with my site that I cannot solve. you can see the issue at The problem is that when I open a flash animation in fancybox over the top of jquery cycle, the flash animation stahhers when the banners in the background rotate.

What I am trying to do and failing at it pausing the cycle plugin when the fancybox is opened and then resuming the cycle plugin once fancybox is closed.

I have attached the two example of code that I have at the moment and where i have got to. What I am going is probably wrong!!!

I would really appreciate any help that anyone could give me as I am going crazy with this..

Thank you in advance
<!-- Banner Rotator -->    
 <script type="text/javascript" src=""></script>
<script type="text/javascript">
$(function() {
    $('#s3').cycle({fx: 'fade',speed: 1500 });
$('#pauseButton').click(function() { 
$('#resumeButton').click(function() { 
    $('#s3').cycle('resume', true); 
$('#fancybox-wrap').show('slow', function() {
	alert('fancybox show');
$('#fancybox-wrap').hide('slow', function() { 
    $('#s3').cycle('resume', true); 

<!-- Example of Fancybox call -->

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros