Using two swap image behaviors, can't get desired results
Posted on 2005-04-11
I'll try to describe what I have: Several icons (slices) used as quasi-navigation bar. I say "quasi" because the icons aren't for moving to another page, they just control events on the same page. There -is-a regular navigation bar used on the page however.
There is a small arrow indicator below each icon. When rolling over the icons, the arrow indicator follows - just a simple rollover. Here is the complication: Another swap image is attached to each icon so that when clicked, another (disjointed) image in the page swaps out. After the icon is clicked and the mouse rolls off, I want the disjointed image AND the arrow indicator to remain in place.
There are separate frames for each arrow and disjointed image.
I have a swap image (and restore) attached to the icons to do the rollover. I also have a swap image (onClick) to make the disjointed image swap out.
This works OK, except that after clicking the icon and the mouse rolls off, the disjointed image reverts back to frame1. I don't have a "restore image" attached to the swap image(onClick) event.