Answer the question
In order to leave comments, you need to log in
Using a link and an anchor in the same tag. Is it real?
Hello!
In general, this is the situation: there is a table with products, the product names are links to the description and open in another page. But I would like to implement this using an iframe so that the description does not open in other tabs, but on the same page at the bottom in the iframe. But for this, you need to somehow attach both a link to the description and an anchor to the product name so that the page scrolls down to the iframe. Is it possible without JS?
Answer the question
In order to leave comments, you need to log in
Really. But I'm certainly not a 100% professional, but why use an iframe on your own site to display the content of this same site? You do not receive information from third-party resources, do you?
I would do this:
1. A prepared modal window, initially hidden and without data.
2. When you click on a product, a modal window is shown and the product data is substituted into it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question