window.open() in an iPad on load of a frame does not work

前端 未结 2 1906
故里飘歌
故里飘歌 2021-01-19 13:20

I am trying to modify a site that uses \"Morten\'s JavaScript Tree Menu\" to display PDFs in a frames set using the Adobe Reader plug-in.

On the iPad the frame is us

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-19 13:41

    probably Safari tries to block popups. That means that when the user clicks, does an action, window.open works, but not when it "happens".

提交回复
热议问题