How to show a page with a frameset, even if the user opened the page an individual frame (part of frameset)?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
4 views
Suppose I have a page consisting of 3 frame's (classic): the header, sidebar and content.
The users of search engines often give a link to the page with frameset'om, and page individual frame'and content.
As a result, the user cannot see the header and menu, because they are on other pages. How to force browser to always open the main page with the frameset, even if the user opened in the browser of an individual frame.
by | 4 views

3 Answers

0 like 0 dislike
Suppose I have a page consisting of 3 frame's (classic)

It's classics for over 15 years. Now classic consists of 3 div's.
by
0 like 0 dislike
check the url of the main window and you can redirect.
in General, for this structure it is necessary to kill.
by
0 like 0 dislike
To search the parent document (look at the window.parent.location.url need to match the address of the page with Framatom). If it is not found, redirect to the page with Framatom.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
4 answers
asked Mar 22, 2019 by pel0tkin
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
28,151 users