[jQuery] Re: Cycle Plugin: Pause the cycle from link withing the cycling content?

2009-07-25 Thread Mike Alsup


 I have set up a cycle that contains a html contentent including a
 'video playlist'. This is a javascript based list that updates a flash
 video player with a new video inside the cycle. The videos are loading
 fine, but for some reason when i call the cycle 'pause', it dosent
 work?

 i have testing the $('#feature').cycle('pause'); from a link outside
 the cycle and that seems to be working, but it seems to be from the
 links inside the cycle content.

 here is the code i am using (i have made a custom crossfade
 transition)

 function feature() {
         $('#featuretitle').hide();
         $('#feature').after(
                 'div id=featurenav/div'
         ).cycle({
                 fx: 'crossfade',
                 pause: 1,
                 speed: 1000,
                 timeout: 8000,
                 cleartype: 1,
                 pager: '#featurenav'
         });

 }

 function videoList(){
         $('a.vidlink').click(function(){
                 var vidLink = $(this).attr('rel');
                 player.sendEvent('STOP');
                 player.sendEvent('LOAD',vidLink);
                 player.sendEvent('PLAY');
                 $('#feature').cycle('pause');
         });

 }





Does it work if you remove the pause:1 option?


[jQuery] Re: Cycle Plugin: Pause the cycle from link withing the cycling content?

2009-07-21 Thread Charlie





looked at this a couple of times ,,have you tried working with the
cleartypeNoBg option"

have seen other posts where things have been resolved using 
cleartypeNoBg: false

welshy1984 wrote:

  I am having an issue with pausing the cycle from links within the
cycle.

I have set up a cycle that contains a html contentent including a
'video playlist'. This is a _javascript_ based list that updates a flash
video player with a new video inside the cycle. The videos are loading
fine, but for some reason when i call the cycle 'pause', it dosent
work?

i have testing the $('#feature').cycle('pause'); from a link outside
the cycle and that seems to be working, but it seems to be from the
links inside the cycle content.

here is the code i am using (i have made a custom crossfade
transition)

function feature() {
	$('#featuretitle').hide();
	$('#feature').after(
		'div id="featurenav"/div'
	).cycle({
		fx: 'crossfade',
		pause: 1,
		speed: 1000,
		timeout: 8000,
		cleartype: 1,
		pager: '#featurenav'
	});
}

function videoList(){
	$('a.vidlink').click(function(){
		var vidLink = $(this).attr('rel');
		player.sendEvent('STOP');
		player.sendEvent('LOAD',vidLink);
		player.sendEvent('PLAY');
		$('#feature').cycle('pause');
	});
}