I'm using RH 7 and trying to re-create a feature I saw in a
WebHelp system (authored in RH X5 or earlier). Click on a "Show
image" link and an image appears below just like a drop-down
hotspot. On clicking, the text changes to "Hide image." I can't
figure out how to change the text on click, and I hate that users
have to click the same "Show image"link to make the image go away.
Thanks! I just spent an hour on your site, Peter, it's
terrific...but I couldn't seem to find what I need. Lots of Show
All/Hide All methods, and Twisties, but I can't find a way to
show/hide a single image and toggle the link text between show and
hide. Should I figure out how to adapt a twistie method to text? Or
am I missing the correct topic?
You actually use two buttons, one that reads Show and one
that reads Hide. Provided the images are the same except the text,
to the user it will appear as if the text is changing. That is how
it is done.