I use some own JS-Routines, that I include into my own websites by PHP include statements.
This works fine for my own pages. But when I let a foreign website (e.g. Google search results) run in a frame of my website, the menu doesn't work any more. This is logical for me, because those external sites don't contain my JS-Code, but I don't know what to do.
Is there a solution for this problem?
Does tree show up?
I think it's a target frame issue - JS function should be defined in the fraget frame. Maybe link to live demo could be useful for diagnostic purposes.
Let me clarify, Rock.
I have two frames:
1. a navigation-frame containing an HTML-Page with the Tree-Menu JS-Code
2. a content-frame containing my PHP-Pages *and* my self-written JS-Code for Tree-Menu.
This constellation works fine.
But: when I let a foreign page run in my "content"-frame (e.g. a Google result page), my Tree-Menu won't work any more, because that foreign page does not contain the JS-Code needed for Tree-Menu. This is totally logical.
My question was: is there a solution for this problem?
Ok, its clear now. If you could not effect these extranal pages (say inserting some JS code after the frame loads) solution could be only to use some
JS function at tree frame page to redirect URLs.
BTW: what sort of code you've witen for the tree (said "my self-written JS-Code for Tree-Menu")?
Again: live demo could be useful