I know this should be easy, but for the life of me I don’t see how to do this:
When the user moves the mouse (cursor) onto a rollover element on one part of the page, I want it to trigger the showing of another graphic element across the page. Rollovers are easy, but I can’t seem to get the rest to work.
The goal is to have something like a map that has rollover elements that, when you move the mouse over one, will pop up a picture of that area.
Use the Target Show/Hide Action on the Item you want to appear, set
to Initially: Hidden in the Action window.
For the Rollover Action, under the Parameters tab, in the Action
Window, set the Mouse Over # to match the Target # in the Target Show/
Hide Layer Action Window.
Repeat for each pair of Items, incrementing the Target #.
You can place the 'hidden" Item anywhere on the page, as this example.
HTH Colin
On 16 Mar 2010, at 05:04, Peter DeArmond wrote:
The goal is to have something like a map that has rollover elements
that, when you move the mouse over one, will pop up a picture of
that area.
This uses rollovers with Target Show/Hide layers for the image boxes
Place your map graphic on your page
Draw over the area you want to be a rollover with the graphic tool - make sure that you DO NOT combine graphics or with children. Apply rollover action.
Mouseover: Items
Target group: Indigo
Mouseover#:1
Draw graphic box on the page where you want your image to appear, make sure it is a layer, import graphic and resize. Apply Target show/hide action
Thank you, Colin and David. I’ve got the show/hide thing working fine, but the problem I’m having now is with the display of the first rollover item. I used the pen tool outline an area on top of my map (which is a PNG file) to create a 2-pixel blue border for the rollover. I have made sure that combine with graphics is off on the map file. But in previewing the rollover, it displays as a white box instead of the blue outline – the blue shows up when I roll over. It’s as if there’s no alpha channel. I’ve tried all kinds of combinations but nothing is working so far.
Peter, try using the Map Area Path tool instead of the pen, apply the
Rollover Action - and link the Map Area to the same page or nothing
happens!
Colin
On 16 Mar 2010, at 17:16, Peter DeArmond wrote:
Thank you, Colin and David. I’ve got the show/hide thing working
fine, but the problem I’m having now is with the display of the
first rollover item. I used the pen tool outline an area on top of
my map (which is a PNG file) to create a 2-pixel blue border for the
rollover.
Thanks Colin. I did that and it worked, but now I have no color to show/hide when I roll over the map area. In other words the area I move the mouse over no longer highlights – something I really want.
In that case try using the Graphic Path Tool and in the Inspector,
under the “pen” tab (2nd from left) set your Border Color to what you
want and set Background Color: None (if you only want the border to
highlight).
Then under the next tab (miniature web page, third from left) choose
Type: PNG - Colors: Millions.
Colin
On 16 Mar 2010, at 17:47, Peter DeArmond wrote:
In other words the area I move the mouse over no longer highlights
– something I really want.