I haven't looked at the site or the specific code yet, but just from
experience, the easiest way I know of is to use something like this.

var globalPause = false;

$('a').click(function(){
    if (globalPause) return false;
});

Then when your cycle starts, set the globalPause variable to true, and
when it ends, set it to false. This should interrupt the links firing
when the flag is set, and enable standard use when it's off.

On Dec 19, 11:10 am, "Mike Dodge" <dmikest...@gmail.com> wrote:
> Anyone have some ideas as to how to stop/prevent the user from clicking or
> even just prevent something from happening when the user clicks a link while
> the cycle is in motion.Thanks
> Mike
>
> On Thu, Dec 18, 2008 at 8:39 AM, Mike Dodge <dmikest...@gmail.com> wrote:
> > I am working on a site here: adc4web.adceval.com  I have a problem where
> > while the cycle is shifting a page, the user can still click a link and this
> > screws up the cycle after clicking a bunch of links.  Is there a way to
> > prevent the user from clicking a link until the cycle is done? Thanks
> > Mike

Reply via email to