I'm trying to achieve this "Menu fade on inactive mouse" effect like
you see in VLC player and the new Quicktime. Does anyone take issue
with how it's done in the example?
> I'm trying to achieve this "Menu fade on inactive mouse" effect like
> you see in VLC player and the new Quicktime. Does anyone take issue
> with how it's done in the example?
> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> > you see in VLC player and the new Quicktime. Does anyone take issue
> > with how it's done in the example?
>> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
>> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
>> > you see in VLC player and the new Quicktime. Does anyone take issue
>> > with how it's done in the example?
>> > Please tell me there's a better mootools way.
>> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
>> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
>> > you see in VLC player and the new Quicktime. Does anyone take issue
>> > with how it's done in the example?
>> > Please tell me there's a better mootools way.
> >> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> >> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> >> > you see in VLC player and the new Quicktime. Does anyone take issue
> >> > with how it's done in the example?
> >> > Please tell me there's a better mootools way.
On Thu, May 6, 2010 at 5:11 PM, Eneko Alonso <eneko.alo...@gmail.com> wrote:
> Your example, Fabio, does not fade out the menu when the mouse is
> inactive...
> >> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> >> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> >> > you see in VLC player and the new Quicktime. Does anyone take issue
> >> > with how it's done in the example?
> >> > Please tell me there's a better mootools way.
> >> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> >> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> >> > you see in VLC player and the new Quicktime. Does anyone take issue
> >> > with how it's done in the example?
> >> > Please tell me there's a better mootools way.
Forgot to add the link. I added the "Cancel" on the running tween.
And removes the redundant "mouseenter" event, as we already tackle
this in the mousemove.
Thanks for the 'cancel' bit.
-Chase
On May 6, 1:34 pm, jiggliemon <ch...@agroism.com> wrote:
> > >> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> > >> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> > >> > you see in VLC player and the new Quicktime. Does anyone take issue
> > >> > with how it's done in the example?
> > >> > Please tell me there's a better mootools way.
> Forgot to add the link. I added the "Cancel" on the running tween.
> And removes the redundant "mouseenter" event, as we already tackle
> this in the mousemove.
> Thanks for the 'cancel' bit.
> -Chase
> On May 6, 1:34 pm, jiggliemon <ch...@agroism.com> wrote:
> > I feel like there should be a better way than using setTimeout.
> > And on every pixel move, calling the "Tween In" action.
> > Maybe making a "Move Handler" of some sort.
> > -Chase
> > On May 6, 1:11 pm, Eneko Alonso <eneko.alo...@gmail.com> wrote:
> > > Your example, Fabio, does not fade out the menu when the mouse is inactive...
> > > >> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> > > >> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> > > >> > you see in VLC player and the new Quicktime. Does anyone take issue
> > > >> > with how it's done in the example?
> > > >> > Please tell me there's a better mootools way.
http://www.jsfiddle.net/Y8Phj/12/ Placing two times outs seems to cut down on the load.
It's a bit ugly.
But baring some other way to set a delay, it will suffice.
I've got a mouseMoveTimeout, set to a relatively low time, bypassing
the pixel to pixel call, spreading out the move event.
And the og Timeout, to check for the mouse in-activity.
Is this the best way to accomplish such a task?
-Chase
On May 6, 1:11 pm, Eneko Alonso <eneko.alo...@gmail.com> wrote:
> >> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> >> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> >> > you see in VLC player and the new Quicktime. Does anyone take issue
> >> > with how it's done in the example?
> >> > Please tell me there's a better mootools way.
[mailto:mootools-users@googlegroups.com] On Behalf Of jiggliemon
Sent: Thursday, May 06, 2010 5:06 PM
To: MooTools Users
Subject: [Moo] Re: setTimeout in a less Ghetto fashion
http://www.jsfiddle.net/Y8Phj/12/ Placing two times outs seems to cut down on the load.
It's a bit ugly.
But baring some other way to set a delay, it will suffice.
I've got a mouseMoveTimeout, set to a relatively low time, bypassing
the pixel to pixel call, spreading out the move event.
And the og Timeout, to check for the mouse in-activity.
Is this the best way to accomplish such a task?
-Chase
On May 6, 1:11 pm, Eneko Alonso <eneko.alo...@gmail.com> wrote:
> Your example, Fabio, does not fade out the menu when the mouse is
inactive...
> >> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> >> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> >> > you see in VLC player and the new Quicktime. Does anyone take issue
> >> > with how it's done in the example?
> >> > Please tell me there's a better mootools way.
> There was really no need for all those events, you just need the one.
> -----Original Message-----
> From: mootools-users@googlegroups.com
> [mailto:mootools-users@googlegroups.com] On Behalf Of jiggliemon
> Sent: Thursday, May 06, 2010 5:06 PM
> To: MooTools Users
> Subject: [Moo] Re: setTimeout in a less Ghetto fashion
> http://www.jsfiddle.net/Y8Phj/12/ > Placing two times outs seems to cut down on the load.
> It's a bit ugly.
> But baring some other way to set a delay, it will suffice.
> I've got a mouseMoveTimeout, set to a relatively low time, bypassing
> the pixel to pixel call, spreading out the move event.
> And the og Timeout, to check for the mouse in-activity.
> Is this the best way to accomplish such a task?
> -Chase
> On May 6, 1:11 pm, Eneko Alonso <eneko.alo...@gmail.com> wrote:
> > Your example, Fabio, does not fade out the menu when the mouse is
> inactive...
> > >> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> > >> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> > >> > you see in VLC player and the new Quicktime. Does anyone take issue
> > >> > with how it's done in the example?
> > >> > Please tell me there's a better mootools way.
From: mootools-users@googlegroups.com [mailto:mootools-users@googlegroups.com] On Behalf Of André Fiedler
Sent: Thursday, May 06, 2010 6:13 PM
To: mootools-users@googlegroups.com
Subject: Re: [Moo] Re: setTimeout in a less Ghetto fashion
[mailto:mootools-users@googlegroups.com] On Behalf Of jiggliemon
Sent: Thursday, May 06, 2010 5:06 PM
To: MooTools Users
Subject: [Moo] Re: setTimeout in a less Ghetto fashion
http://www.jsfiddle.net/Y8Phj/12/ Placing two times outs seems to cut down on the load.
It's a bit ugly.
But baring some other way to set a delay, it will suffice.
I've got a mouseMoveTimeout, set to a relatively low time, bypassing
the pixel to pixel call, spreading out the move event.
And the og Timeout, to check for the mouse in-activity.
Is this the best way to accomplish such a task?
-Chase
On May 6, 1:11 pm, Eneko Alonso <eneko.alo...@gmail.com> wrote:
> Your example, Fabio, does not fade out the menu when the mouse is
inactive...
> >> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> >> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> >> > you see in VLC player and the new Quicktime. Does anyone take issue
> >> > with how it's done in the example?
> >> > Please tell me there's a better mootools way.
Its more mooish, still needs work but it uses the ideas I was thinking about. You can change the time between fades in the mousemove function.
Hopefully it gives you a starting point.
From: mootools-users@googlegroups.com [mailto:mootools-users@googlegroups.com] On Behalf Of André Fiedler
Sent: Thursday, May 06, 2010 6:13 PM
To: mootools-users@googlegroups.com
Subject: Re: [Moo] Re: setTimeout in a less Ghetto fashion
[mailto:mootools-users@googlegroups.com] On Behalf Of jiggliemon
Sent: Thursday, May 06, 2010 5:06 PM
To: MooTools Users
Subject: [Moo] Re: setTimeout in a less Ghetto fashion
http://www.jsfiddle.net/Y8Phj/12/ Placing two times outs seems to cut down on the load.
It's a bit ugly.
But baring some other way to set a delay, it will suffice.
I've got a mouseMoveTimeout, set to a relatively low time, bypassing
the pixel to pixel call, spreading out the move event.
And the og Timeout, to check for the mouse in-activity.
Is this the best way to accomplish such a task?
-Chase
On May 6, 1:11 pm, Eneko Alonso <eneko.alo...@gmail.com> wrote:
> Your example, Fabio, does not fade out the menu when the mouse is
inactive...
> >> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> >> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> >> > you see in VLC player and the new Quicktime. Does anyone take issue
> >> > with how it's done in the example?
> >> > Please tell me there's a better mootools way.
Anyway, you can do it in less lines but this uses a countdown timer as opposed to an interval timer. The advantage is you can reset the ticks on the fly instead of $clearing the event and restarting it.
The options:
fadeBox: What you want to fade
timeout: How long till an idle mouse triggers a fade
leave: Does leaving trigger an immediate fadeout
Humm, I think this is about as practical as my mootools to .toMoo function.
From: mootools-users@googlegroups.com [mailto:mootools-users@googlegroups.com] On Behalf Of André Fiedler
Sent: Thursday, May 06, 2010 6:13 PM
To: mootools-users@googlegroups.com
Subject: Re: [Moo] Re: setTimeout in a less Ghetto fashion
[mailto:mootools-users@googlegroups.com] On Behalf Of jiggliemon
Sent: Thursday, May 06, 2010 5:06 PM
To: MooTools Users
Subject: [Moo] Re: setTimeout in a less Ghetto fashion
http://www.jsfiddle.net/Y8Phj/12/ Placing two times outs seems to cut down on the load.
It's a bit ugly.
But baring some other way to set a delay, it will suffice.
I've got a mouseMoveTimeout, set to a relatively low time, bypassing
the pixel to pixel call, spreading out the move event.
And the og Timeout, to check for the mouse in-activity.
Is this the best way to accomplish such a task?
-Chase
On May 6, 1:11 pm, Eneko Alonso <eneko.alo...@gmail.com> wrote:
> Your example, Fabio, does not fade out the menu when the mouse is
inactive...
> >> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> >> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> >> > you see in VLC player and the new Quicktime. Does anyone take issue
> >> > with how it's done in the example?
> >> > Please tell me there's a better mootools way.
Wow. not only is this exactly what i was thinking could be
accomplished w/ mootools, but you also did it very cleanly before i
even could take a stab at it myself. Inside a class at least.
Thanks Mathew. Consider this thread closed.
On May 7, 5:02 pm, "Matthew Hazlett" <hazl...@gmail.com> wrote:
> Anyway, you can do it in less lines but this uses a countdown timer as opposed to an interval timer. The advantage is you can reset the ticks on the fly instead of $clearing the event and restarting it.
> The options:
> fadeBox: What you want to fade
> timeout: How long till an idle mouse triggers a fade
> leave: Does leaving trigger an immediate fadeout
> Humm, I think this is about as practical as my mootools to .toMoo function.
> From: mootools-users@googlegroups.com [mailto:mootools-users@googlegroups.com] On Behalf Of André Fiedler
> Sent: Thursday, May 06, 2010 6:13 PM
> To: mootools-users@googlegroups.com
> Subject: Re: [Moo] Re: setTimeout in a less Ghetto fashion
> [mailto:mootools-users@googlegroups.com] On Behalf Of jiggliemon
> Sent: Thursday, May 06, 2010 5:06 PM
> To: MooTools Users
> Subject: [Moo] Re: setTimeout in a less Ghetto fashion
> http://www.jsfiddle.net/Y8Phj/12/ > Placing two times outs seems to cut down on the load.
> It's a bit ugly.
> But baring some other way to set a delay, it will suffice.
> I've got a mouseMoveTimeout, set to a relatively low time, bypassing
> the pixel to pixel call, spreading out the move event.
> And the og Timeout, to check for the mouse in-activity.
> Is this the best way to accomplish such a task?
> -Chase
> On May 6, 1:11 pm, Eneko Alonso <eneko.alo...@gmail.com> wrote:
> > Your example, Fabio, does not fade out the menu when the mouse is
> inactive...
> > >> On May 6, 11:43 am, jiggliemon <ch...@agroism.com> wrote:
> > >> > I'm trying to achieve this "Menu fade on inactive mouse" effect like
> > >> > you see in VLC player and the new Quicktime. Does anyone take issue
> > >> > with how it's done in the example?
> > >> > Please tell me there's a better mootools way.