I need to replace some content in a web page with new content, without leaving the page.
When opening the following page, there are two rectangles, one being small and the one large:
When clicking the small rectangle in above page, the two rectangles will be replaced by the two in following page:
I understand that the two sets of rectangles may need to be coded in one page. I put them in two different ones in order to present my ideas clearly.