开发者

iPad add to homepage stops site from working

开发者 https://www.devze.com 2023-04-05 03:04 出处:网络
I\'m using the IOS simulator iPad/ ISO 4.3.2 (8H7) I\'m working on a web based app for the iPad, it works fine being viewed as a webpage on my local host.

I'm using the IOS simulator iPad/ ISO 4.3.2 (8H7)

I'm working on a web based app for the iPad, it works fine being viewed as a webpage on my local host.

However, when I click add to homepage button and access开发者_StackOverflow社区 the site via the icon on the homepage.

All the 'a' tags stop working.

EDIT: I've found another post that people mention the same issue. See the second and third posts down.

iPad WebApp Full Screen in Safari


The only way I have been able to get this to work is by changing all my 'a' tags to the following.

a href="javascript:this.location = 'page.php'"

For some reason when you link with javascript it stays in the same window.

0

精彩评论

暂无评论...
验证码 换一张
取 消