Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Bigbob666 #1
passing a Javascript command to out of an iFrame to athe parent frame
Hello. Right i have a javascript navigation that runs fine on the top level
html page, this then loads in pages into an iFrame, then in these '2nd level
pages' there are links to diferent sections of the site meaning that the 'top
level' nav has to change to indicate where in the site you have moved to. So
the command that works fine on the top level is: <a
href='HTML/symptomSorter.html' target='mainContent'
onclick='javascript:showMenu(6)'> so it loads symptomSorter.html into the main
content frame and also tells the javascript menu to highlight element 6 on the
menu. all fine so far... then on the symptomSorter.html there is a link which
loads a page from a diferent section into the same frame it is in, but i need
to let the top level navigation know to highlight element 3 so what i tried
was: <a href='products_mainpage.html'
onClick='parent.javascript:showMenu(3)'>link</a> and <a
href='parent.javascript:showMenu(3)' >link</a> and <a
href='javascript:parent.showMenu(3)' >link</a> and <a
href='javascript:window.parent.showMenu(3)' >link</a> but none worked, there
must be an easy way to to parse the javascript command showMenu(3) to the to
level?? Thanks for any help in this matter is appreciated its driving me mad!
Rob.
Bigbob666 Guest
-
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... -
updating an iframe in parent doc from a popup
I need to update an iframe contained in a parent doc from within a popup window created from the same parent document. The parent doc (1.cfm): ... -
IFrame security with parent same domain?
Hi, I have a web page with an IFrame, this IFrame could display the content of a web site on the same domain. Parent page:... -
Close parent window from a frame without Java
I want to use a hyperlink to close the parent window (and all frames it contains) without using java. I don't want the pop-up window appearing that... -
Passing a method block to a parent class
If I have **** CODE **** class A def method1( argument ) yield( argument ) end end -
Bigbob666 #2
Re: passing a Javascript command to out of an iFrame toa the parent frame
a s'ok found a way:
..top works to route to the top level html from within an iFrame.
Bigbob666 Guest



Reply With Quote

