javascript - When inside a frame, the innerHeight and innerWidth in Safari is 0 -


if run js innerheight , innerwidth of page, , if page inside iframe, correct results in chrome (i.e. height , width of page), in safari value of 0 both items.

is there way innerheight , innerwidth of page if inside iframe in safari?

thanks


Comments

Popular posts from this blog

r - geom_bar tied exactly to x and y axis (without aggregating) -

php - Is there a way to specify only some optional function args? -

java - Spring-boot using RestTemplate -