There is site # 1 (mine) and there is site # 2 (not mine).
An example of the content of the first site:
<div class="header"><a href="/сайт№2">Личный кабинет</a></div> <div class="main"></div> <div class="footer"></div>
An example of the content of the second site (in which code I do not have access):
<div class="logo"></div> <div class="form"></div>
Essence: It is necessary when clicking on the link "My Account" to open the site number 2 while removing from it the class="logo"
How I see it:
- Click "My Account"
- A small window opens (blank?) With
<div class="form">
(iframe?)
How to implement it at all? Tell me please.
Here is the idea. In the iframe you can hide the scroll. Is it possible to stop the iframe scroll in the right place using JS and then hide it?