Select some text in the main page and make it a null link by typing
show-hide Behavior to it to show or hide the div in question.
Copy/paste the <a> tag you just applied to your main page into the page that
is getting loaded inside of the iframe. Then add parent. in front of
the MM_showHideLayers('Layer1','','hide'). voila!
Use your temp null link to apply as many as you need and then remove it. You
will have to remove it manually though. Go into code view and cut out the
<a> portion. If you remove it any other way, the code for the show-hide will
get removed by Dreamweaver.
"seannarae" <webforumsusermacromedia.com> wrote in message
news:edkrag$ia$1forums.macromedia.com...>i am building a 'select personal image' feature to a clients existing reg
> i am displaying the 30+ personal image gifs in a scrolling iframe within
> above iframe, on parent, i want to display users currently selected gif
> per client requirements, when a user selects/clicks an image within the
> iframe, the parent window needs to update to show that same image.
> i have created the 30+ individual layers to house each gif for display on
> parent. i just cant figure out how to call show-hide layers from onClick
> the iframe.
> how to get onClick selections made within the iframe to trigger the
> layer functions on/in the parent?
> any suggestions or solutions greatly appreciated...