Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 02-25-2004, 05:00 PM Frame forcing
Junior Talker

Posts: 3
Trades: 0
Does anyone know a way to force the construction of a frameset if someone links to a page that is typically only displayed within a frame?

e.g. Person A finds a link to content.html on a search engine but that page is normally contained within a frameset and as such has no navigation elements. Is there a way to force the drawing of the frameset so the header frame is shown?

I know you can use the below code to detect if the frame is there, and if it isn't to redirect to the frameset, but then the person is on the homepage rather than the content page they wanted. Any thoughts?


<script> if (top == self) self.location.href = "frames.htm";</script>

Thanks.
b-bomb is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Frame forcing
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.07689 seconds with 12 queries