Here is a short explanation, why I´m looking for such a function:

I do have
P1) a PRODUCT FAMILY PAGE page which describes the "main features" of the whole product family, ie.
P1. a) reliability
P1. b) expandability
P1. c) ...
plus several PRODUCT PAGES like
P2) entry level models with detail specifications and pictures
P3) mid range models with detail specifications and pictures
P4) high end models with detail specifications and pictures

To avoid extensive page size of every product page by repeating the "main features" I can use on every product page a back link to the product family page (> 1) either to a specific headline or anchor.

I can guarantee a continous reading for the visitor with a back/continue button with "javascript:history.back(-1)", which bring the visitor back exactly to the point of the product page, where he has clicked the link.

So far so good.

My problem is, that it makes no sense to have this special "back/continue button" all the time visible on the PRODUCT FAMILY PAGE, as it would only work correctly if "history.back(-1) = P1, P2, P3

My idea was to but the special "back/continue button" on a separate layer, who becomes only visible, if the IF Condition is correct otherwise it is hidden for all visitors starting to read the PRODUCT FAMILY PAGE 1st from top to the end.

I would be very happy, if there is a way to do it.

THX in advance.

Best regards
Erwin
Greatings from Vienna/Austria