Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Link formats problem #744

Closed
Closed
@recepkocur

Description

@recepkocur

Hello,

We've used for iphone and ipad on our applications as you described on http://jquerymobile.com/demos/1.0a2/#docs/pages/link-formats.html

When we browse application using Safari mobile, blank page link works properly and opens the target page on a new window as planned. But when we do "Add to Home Screen", and open the application there, it doesn't open the links on a new window, opens them on same window.

When we comment out <script src="jquery.mobile-1.0a2.min.js"></script> line, it works fine. Here is the code:

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <title>Go New Page</title>
  <link rel="stylesheet" href="jquery.mobile-1.0a2.css" />
  <script src="jquery-1.4.4.min.js"></script>
  <script src="jquery.mobile-1.0a2.min.js"></script>
  <meta name="apple-mobile-web-app-capable" content="yes">
</head>
<body>
<div data-role="page">
  <div class="test" data-role="header" data-nobackbtn="true">
    <h1>Home</h1>
  </div>
  <div data-role="content">
    <a href="http://www.google.com" target="_blank" rel="external">Google search</a>
  </div>
</div>
</body>
</html>

But http://www.jqtouch.com works fine, this problem doesn't occur.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions