Alternating dropdowns

I’ve created a series of images and applied the Combo FX action to each. Fine so far but is there a way to make the dropdown text go away when the next image is selected ie so that only the text for one image is shown at any one time without rolling back over the images (Moving to the next image causes the first text to retract)? Maybe an additional action?

Example here http://www.petemackenzie.co.uk/testp/photogall.html

Thanks

Cheers
Pete

Without seeing your page, and how the Action is applied, it is hard
to say. I was able to make it work by copying your source into a new
text document, and changing all references to Effect.toggle to
Effect.SlideDown, and adding a new onmouseout event with Effect.SlideUp.

Effect.toggle switches an effect back and forth between two states,
but because you’ve applied it only to mouseover, it means that in
order to make an element disappear, you have to mouse over the thing
a second time, which means you have to mouse out first, then back, to
hide the thing you just made appear.

By changing this so that you have two separate events being observed
– mouseover and mouseout – the behavior you want is possible.

Here’s what the code looks like on one of your images when it works
the way you want it to.

onmouseover="new Effect.SlideDown('item6',
{duration:1, delay:0, queue:'end'})"
onmouseout="new Effect.SlideUp('item6',
{duration:1, delay:0, queue:'end'})"

I haven’t tried this Action yet, so I’ll have to get back to you on
how to fix it using the Action. I will also ask the author of the
Action, though, because it doesn’t seem to make sense to me as it is.

Walter

On Feb 13, 2008, at 7:38 PM, Pete MacKenzie wrote:

I’ve created a series of images and applied the Combo FX action to
each. Fine so far but is there a way to make the dropdown text go
away when the next image is selected ie so that only the text for
one image is shown at any one time without rolling back over the
images (Moving to the next image causes the first text to retract)?
Maybe an additional action?

Example here http://www.petemackenzie.co.uk/testp/photogall.html

Thanks

Cheers
Pete


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for looking at this Walter

Without seeing your page, and how the Action is applied, it is hard
to say. I was able to make it work by copying your source into a new
text document, and changing all references to Effect.toggle to
Effect.SlideDown, and adding a new onmouseout event with
Effect.SlideUp.

Effect.toggle switches an effect back and forth between two states,
but because you’ve applied it only to mouseover, it means that in
order to make an element disappear, you have to mouse over the thing
a second time, which means you have to mouse out first, then back, to
hide the thing you just made appear.

that is exactly what it appears one has to do. There isn’t an option
that I can find in the Action to apply two separate events. I did try
with toggle checked and unchecked but this just governs wether the
slide down is repeated from the top or wether it slides back up to
disappear.

I’ve put a screen grab of the Action panel setup here for reference

http://www.petemackenzie.co.uk/combopanel.tiff

By changing this so that you have two separate events being observed
– mouseover and mouseout – the behavior you want is possible.

Here’s what the code looks like on one of your images when it works
the way you want it to.

onmouseover=“new Effect.SlideDown(‘item6’,
{duration:1, delay:0, queue:‘end’})”
onmouseout=“new Effect.SlideUp(‘item6’,
{duration:1, delay:0, queue:‘end’})”

If I wanted a link in the dropdown the pane would need to stay open
even after mouseout so I could get to the link. In that case the way
i saw it was that I need whatever is applied to image A to watch
behaviour in dropdown A and dropdown B or even more. Perhaps this is
the wrong Action to be starting with and maybe I’m asking too much?
Would the Menubar Action handle this? I understand that the same
Action can’t be applied twice to the same object. I do like the Combo
FX though - the fades and slides are pretty cool

I haven’t tried this Action yet, so I’ll have to get back to you on
how to fix it using the Action. I will also ask the author of the
Action, though, because it doesn’t seem to make sense to me as it is.

Thanks - appreciate it

Pete

On Feb 13, 2008, at 7:38 PM, Pete MacKenzie wrote:

I’ve created a series of images and applied the Combo FX action to
each. Fine so far but is there a way to make the dropdown text go
away when the next image is selected ie so that only the text for
one image is shown at any one time without rolling back over the
images (Moving to the next image causes the first text to retract)?
Maybe an additional action?

Example here http://www.petemackenzie.co.uk/testp/photogall.html

Thanks

Cheers
Pete


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Pete (and Walter),

Thanks for pointing this out, currently there is no way to do exactly
what you are trying to do (without adding extra code to the page) but
I will take a look through the Action and try to add a way to do so.
It seems it would be a common requirement.

Regards,

Joe

On 14 Feb 2008, at 09:50, Pete MacKenzie wrote:

Thanks for looking at this Walter

Without seeing your page, and how the Action is applied, it is hard
to say. I was able to make it work by copying your source into a new
text document, and changing all references to Effect.toggle to
Effect.SlideDown, and adding a new onmouseout event with
Effect.SlideUp.

Effect.toggle switches an effect back and forth between two states,
but because you’ve applied it only to mouseover, it means that in
order to make an element disappear, you have to mouse over the thing
a second time, which means you have to mouse out first, then back, to
hide the thing you just made appear.

that is exactly what it appears one has to do. There isn’t an option
that I can find in the Action to apply two separate events. I did try
with toggle checked and unchecked but this just governs wether the
slide down is repeated from the top or wether it slides back up to
disappear.

I’ve put a screen grab of the Action panel setup here for reference

http://www.petemackenzie.co.uk/combopanel.tiff

By changing this so that you have two separate events being observed
– mouseover and mouseout – the behavior you want is possible.

Here’s what the code looks like on one of your images when it works
the way you want it to.

onmouseover=“new Effect.SlideDown(‘item6’,
{duration:1, delay:0, queue:‘end’})”
onmouseout=“new Effect.SlideUp(‘item6’,
{duration:1, delay:0, queue:‘end’})”

If I wanted a link in the dropdown the pane would need to stay open
even after mouseout so I could get to the link. In that case the way
i saw it was that I need whatever is applied to image A to watch
behaviour in dropdown A and dropdown B or even more. Perhaps this is
the wrong Action to be starting with and maybe I’m asking too much?
Would the Menubar Action handle this? I understand that the same
Action can’t be applied twice to the same object. I do like the Combo
FX though - the fades and slides are pretty cool

I haven’t tried this Action yet, so I’ll have to get back to you on
how to fix it using the Action. I will also ask the author of the
Action, though, because it doesn’t seem to make sense to me as it is.

Thanks - appreciate it

Pete

On Feb 13, 2008, at 7:38 PM, Pete MacKenzie wrote:

I’ve created a series of images and applied the Combo FX action to
each. Fine so far but is there a way to make the dropdown text go
away when the next image is selected ie so that only the text for
one image is shown at any one time without rolling back over the
images (Moving to the next image causes the first text to retract)?
Maybe an additional action?

Example here http://www.petemackenzie.co.uk/testp/photogall.html

Thanks

Cheers
Pete


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Joe

I know this is all wishlist stuff from a non-coder (perhaps that
should be a non-Walter…!) and I do appreciate the unseen effort
that powers these Actions.

As the Freeway principle is to keep as much code under the hood as
possible for the non-Walters I would indeed be interested to know if
it were possible to add extra target items within the Action. So one
would have a Combo FX Action panel that was able to apply effects to
multiple targets. I really like the way the list of potential targets
is found by name (makes selection much easier than applying the slave
groups/colours method). In an unlimited options world that would mean
being able to apply a variety of effects all from the one trigger
item too but I wouldn’t be surprised if you said that was beyond the
scope of the action. If however, just the reverse of the main effect
could be applied to additional target items maybe that would get what
I’m after.

I have tried applying two combo FX actions with different Hidden/
Visible settings from separate images to one target layer and this
does work to reverse the effect of the first but of course means that
the layer below the second image cannot be targeted to drop down as
the other slides up. You are better qualified to comment if this
could work reliably for multiple targets.

Example added to the page here http://www.petemackenzie.co.uk/
testp/photogall.html

Cheers
Pete

On 14 Feb 2008, at 11:09, Joe Billings wrote:

Hi Pete (and Walter),

Thanks for pointing this out, currently there is no way to do exactly
what you are trying to do (without adding extra code to the page) but
I will take a look through the Action and try to add a way to do so.
It seems it would be a common requirement.

Regards,

Joe


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options