Hi Merve,
Nope, does not work.
I have a index.php page that contains 3 IFrames (category, section and _link)
I display in the first Iframe the name of categories. If you click on a categorie link I show the sections that belong to that category in the 2nd Iframe. If you click on a section I show all the links that belong to that section in the 3rd Iframe.
If the users click on a new category the _link frame needs to be cleared.
I placed the Javascript in both index.php and the page that goes into the first Iframe. I gave the link the onclick event but the _link frame does not clear.