lordcatalien
02-07-2006, 01:27 AM
This may sound silly, but I have an index page that holds two iframes.
<iframe name="nav" id="nav" src="nav.php" width="900" height="325" frameborder="0" scrolling="No" marginheight="0" marginwidth="0"></iframe>
<iframe name="body" id="body" src="body.php" width="900" height="560" frameborder="0" scrolling="No" marginheight="0" marginwidth="0"></iframe>
In the nav frame is a flash that runs the navigation, which I put in an iframe because I don't want it to reload each time something is clicked.
The issue I'm having, is that I'd like a link from the body frame ("body") to affect the navigation. Initially, I only wanted links from the flash nav, but clients are indecisive like that. :(
Anyway, I've used this script in the past with great success:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15683#jtfc
But I haven't had the ability to have the child iframe link affect flash in another child iframe (at the same level like the above).
This works in IE, but nothing else:
<a href="javascript:parent.top.frames.nav.myFlash.SetVariab le('myvar','press');">Press</a>
I'm worried that if i find a solution in Mozilla/Safari, it won't work in IE.
Anyone figured out how to do this? Your assistance will be cherished for years to come and, pending the gender of my future children, may have impact on their namesakes.
Thanks,
Liam
<iframe name="nav" id="nav" src="nav.php" width="900" height="325" frameborder="0" scrolling="No" marginheight="0" marginwidth="0"></iframe>
<iframe name="body" id="body" src="body.php" width="900" height="560" frameborder="0" scrolling="No" marginheight="0" marginwidth="0"></iframe>
In the nav frame is a flash that runs the navigation, which I put in an iframe because I don't want it to reload each time something is clicked.
The issue I'm having, is that I'd like a link from the body frame ("body") to affect the navigation. Initially, I only wanted links from the flash nav, but clients are indecisive like that. :(
Anyway, I've used this script in the past with great success:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15683#jtfc
But I haven't had the ability to have the child iframe link affect flash in another child iframe (at the same level like the above).
This works in IE, but nothing else:
<a href="javascript:parent.top.frames.nav.myFlash.SetVariab le('myvar','press');">Press</a>
I'm worried that if i find a solution in Mozilla/Safari, it won't work in IE.
Anyone figured out how to do this? Your assistance will be cherished for years to come and, pending the gender of my future children, may have impact on their namesakes.
Thanks,
Liam