Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
seannarae #1
show-hide layers across iframe & parent window
i am building a 'select personal image' feature to a clients existing reg form.
i am displaying the 30+ personal image gifs in a scrolling iframe within
parent.
above iframe, on parent, i want to display users currently selected gif (from
iframe)
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 the
parent. i just cant figure out how to call show-hide layers from onClick within
the iframe.
CHALLENGE:
how to get onClick selections made within the iframe to trigger the show-hide
layer functions on/in the parent?
any suggestions or solutions greatly appreciated...
seannarae
seannarae Guest
-
Show and Hide Layers
I am using the show and hide layers JS from Dreamweaver. I am using it to have simulated "tabs" on the HTML page, so I have a div set up for Tab1,... -
Show / Hide DIV Layers with Flash
If there's a way to control pages with Flash, there's a way to show and hide DIV layers with Flash. I tried everything I know, but it's not enough.... -
popup menus won't hide - PVII show/hide layers behaviour
I've used the 'Auto show/hide by PVII" behaviour to create some popup menus for the navigation which make use of divs which appear and disappear.... -
show/hide layers
I've got two layers. The first layer is always visible. The second layer is only visible when you click on the first layer. How do I hide the... -
Hide/show layers
hi, i have a form and in this form i have multiple <div> and each <div> i have table. i show and hide according to the events attached to the... -
T.Pastrana - 4Level #2
Re: show-hide layers across iframe & parent window
seannarae,
Select some text in the main page and make it a null link by typing
javascript:; into the Link field in the Property Inspector. Apply the
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!
<a href="javascript:;"
onClick="parent.MM_showHideLayers('Layer1','','hid e')">Swiper</a>
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.
--
Regards,
...Trent Pastrana
[url]www.fourlevel.com[/url]
"seannarae" <webforumsuser@macromedia.com> wrote in message
news:edkrag$ia$1@forums.macromedia.com...>i am building a 'select personal image' feature to a clients existing reg
>form.
> i am displaying the 30+ personal image gifs in a scrolling iframe within
> parent.
> above iframe, on parent, i want to display users currently selected gif
> (from
> iframe)
>
> 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
> the
> parent. i just cant figure out how to call show-hide layers from onClick
> within
> the iframe.
>
> CHALLENGE:
> how to get onClick selections made within the iframe to trigger the
> show-hide
> layer functions on/in the parent?
>
> any suggestions or solutions greatly appreciated...
> seannarae
>
T.Pastrana - 4Level Guest



Reply With Quote

