Thanks Roman!!! you saved me. I just put the iframe name besides the id and
now it's working!!!

Thanks a lot again.
:clap:



I kind of understand what you are trying to do, but I guess the code you
posted is not what you wanted me to see..

Few errors I see in your code, you need to have a "name" attribute for the
iframe:
<iframe name="myIframe">
Then when you want to use it :
file.html click me! 

Also, assume this iframe:
<iframe name="myIframe" id="anIframe"></iframe>

you should use this code:
 document.getElementById('*anIframe*').contentWindow..
If you are using mootools, you can also use:
$("anIframe").contentWindow...

You should google "iframe tutorial" and complete few of these if you are
having any other issues, this is really basic stuff

HTH

> --
> View this message in context:
> http://n2.nabble.com/accordion-link-to-iframe-tp4178346p4179088.html
> Sent from the MooTools Users mailing list archive at Nabble.com.
>



-- 
---
"Make everything as simple as possible, but not simpler."

- Albert Einstein
-- 
View this message in context: 
http://n2.nabble.com/accordion-link-to-iframe-tp4178346p4179192.html
Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to