[jQuery] Re: Jquery Cycle Plugin Problem

2008-11-10 Thread Jorge

On 7 nov, 19:00, Mike Alsup [EMAIL PROTECTED] wrote:
  There is a problem with pc memmory when the plugin is working ( Tested
  in a few pcs). At Least you need a 2 core duo for a not problem
  experiencie, but try in a pentium  4 with 1gb of ram... and you will
  Khnow.
  Open the task administrator and test de memmory.

 It's not clear to me whether you think you're seeing a memory leak or
 too much CPU usage.  Can you clarify?

 I'm not seeing a leak.  I've had the main doc page (http://malsup.com/
 jquery/cycle/) open for 15 minutes in IE7 and my memory use is not
 increasing, even with 6 slideshows running.

 CPU usage will certainly spike when the transitions are active -
 there's no way to avoid that; that's just the nature of doing
 animation in JavaScript.  But you can mitigate the problem by using
 faster transitions (lower 'speed' value) and longer timeouts (larger
 'timeout' value).

 Mike

Thanks for the post Mike.

Here is a screen print to explain it:

http//servidorweb.ecomputer.es/JqueryCycle.jpg

In a 2 core duo, the cpu ups to 44% and my memory use is not
increasing too.In this case no problem.

But if you could test in a pentium, the cpu ups to 90-100% and the
memory will increase until the pc will block. I had tested in 2
different pc ( more than 15 minutes but it´s a problem if you have the
window open).

The code:

$(document).ready(function(){
$('#s3').cycle({
fx:'zoom',
speed:  3000 ,
 pause:  3 ,
random:  1
 });
});



[jQuery] Re: Jquery Cycle Plugin Problem

2008-11-10 Thread Mike Alsup

 But if you could test in a pentium, the cpu ups to 90-100% and the
 memory will increase until the pc will block. I had tested in 2
 different pc ( more than 15 minutes but it´s a problem if you have the
 window open).

Yes, as I mentioned, JavaScript animation is very CPU intensive.  If
you're concerned about this, use a faster speed value so that your CPU
is not getting crushed for 3 seconds.  The way your code is now it
will animate for 3 seconds every 4 seconds.  That is a very bad idea.
Try using a more reasonable configuration, like speed: 500.

Mike



[jQuery] Re: Jquery Cycle Plugin Problem

2008-11-07 Thread Mike Alsup

 There is a problem with pc memmory when the plugin is working ( Tested
 in a few pcs). At Least you need a 2 core duo for a not problem
 experiencie, but try in a pentium  4 with 1gb of ram... and you will
 Khnow.
 Open the task administrator and test de memmory.


It's not clear to me whether you think you're seeing a memory leak or
too much CPU usage.  Can you clarify?

I'm not seeing a leak.  I've had the main doc page (http://malsup.com/
jquery/cycle/) open for 15 minutes in IE7 and my memory use is not
increasing, even with 6 slideshows running.

CPU usage will certainly spike when the transitions are active -
there's no way to avoid that; that's just the nature of doing
animation in JavaScript.  But you can mitigate the problem by using
faster transitions (lower 'speed' value) and longer timeouts (larger
'timeout' value).

Mike



[jQuery] Re: jquery cycle plugin problem?

2008-11-06 Thread Netherscurial

I solved the problem in IE 7, it seems the top and bottom divs/spans
that contains the background image were collapsing width wise, so I
have to add a width inline on the first slide to get it to work.

I am still having trouble with the blue background problem in IE 6. It
seems that the background of the site is showing through. Not sure
why, the CSS looks fine.

Anyone know the problem?

thanks!


[jQuery] Re: jquery cycle plugin problem?

2008-11-06 Thread Mike Alsup

 Explorer 7 there seems to be a graphic glitch on the initial slide/
 frame, the top header looks like it is overwriting part of the box,  
 same with bottom. It's fine after the first frame.

 In Explorer 6, there is a blue background that is showing behind the  
 testimonial box.

Hmm, I didn't see that behavior in IE7.  For me, IE7, FF and Chrome
all behave the same.  I don't have access to IE6 at the moment.

Mike



[jQuery] Re: jquery cycle plugin problem?

2008-11-06 Thread Netherscurial

Thanks Mike,

I got it working, i have to add inline widths to the first slide for
the background endcap containers.

The IE 6 problem is frustrating. The CSS looks fine. Could you take a
look at the CSS and code to see if I am doing ti right?

I have this for js call

   precode class=mix$('#s7').cycle({
fx:'scrollUp',
pause: 1,
cleartype: 1,
timeout: 11000,
delay: 500,
fit: 1,
nowrap: 1
 });/code/pre