Close the frame page, how to close the page in the frame page

xiaoxiao2021-03-06  41

A few days ago, I am doing a website, there are several framepages, but I can't use it.

"

Window.opener = false; window.close () Close the frame page! "the first method:

IF (Window! = WINDOW.TOP) {Top.Location.href = location.href;} Window.close (); or Window.top.close (); Close Second Method: Call Function Solution: