Forum Moderators: mack
Is it possible to provide someone a text link to a specific page in a site that is designed with frames?
For example, take the site sevenboroughs.com, currently designed with frames.
If I write an email and want to provide someone a link that bypasses the main page and directs them straight to the page called "canis.shtml" - BUT STILL WITHIN THE FRAMESET...
...is this possible?
What you need to do is use Javascript to check whether the page is contained within its frame when loaded, and if not reload the same page inside the frameset. You might want to try tedster's "Force Many Pages Into Frames" script found in message #21 of this thread:
[webmasterworld.com...]
(that link should open at the right post).
The advantage with this method is that it will also work for visitors coming from search engines who would otherwise enter on an orphaned page outside its frameset.
<added>Dijkgraaf's suggestion is good too!</added>