Android 为什么赢了';我的HTML链接在PhoneGap/Eclipse中不能工作吗?
我用HTML/CSS创建了一个应用程序。它在iPhone中运行良好。现在我使用Eclipse中的PhoneGap将其移植到Android。我用这个页面获得了我的出发点:phonegap/phonegap android eclipse quickstart当我遵循教程并在我的eLocity中打开它时,它会正确启动,打开index.html作为主页 我的新index.html页面取代了上面教程中使用的页面,充满了普通的htmlAndroid 为什么赢了';我的HTML链接在PhoneGap/Eclipse中不能工作吗?,android,eclipse,cordova,Android,Eclipse,Cordova,我用HTML/CSS创建了一个应用程序。它在iPhone中运行良好。现在我使用Eclipse中的PhoneGap将其移植到Android。我用这个页面获得了我的出发点:phonegap/phonegap android eclipse quickstart当我遵循教程并在我的eLocity中打开它时,它会正确启动,打开index.html作为主页 我的新index.html页面取代了上面教程中使用的页面,充满了普通的html 这是它所指向的页面的开头。**所有这些HTML链接都可以工作:
这是它所指向的页面的开头。**所有这些HTML链接都可以工作:**
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport">
<link href="hymns-style.css" rel="stylesheet" type="text/css">
<link href="style.css" rel="stylesheet" type="text/css">
<title>Hymns A</title>
</head>
<body>
<div id="content">
<span class="graytitle">Hymns A</span>
<br>
<ul class="pageitem">
<li class="menu">
<span class="name"><a href="0300.html">
A debtor to mercy alone
<span class="detailbutton"></span></span></a>
</li>
<li class="menu">
<span class="name"><a href="0301.html">
A lamp in the night, a song in time of sorrow
<span class="detailbutton"></span></span></a>
</li>
赞美诗A
赞美诗A
-
-
试试看
如果这样做有效,那么这可能是一个错误/边缘案例,URL处理在这一行的工作方式:我发现了问题。我可以点击文本并转到链接,但点击单元格上的其他地方不起作用。这是因为我已经移除了属于最右边的箭头PNG。如果a href标记包含文本和该箭头,则链接在整个单元格中都起作用。该格式也不起作用。我只是使用HTML/CSS,所以你的链接对我来说没有任何帮助。谢谢
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport">
<link href="hymns-style.css" rel="stylesheet" type="text/css">
<link href="style.css" rel="stylesheet" type="text/css">
<title>Hymns A</title>
</head>
<body>
<div id="content">
<span class="graytitle">Hymns A</span>
<br>
<ul class="pageitem">
<li class="menu">
<span class="name"><a href="0300.html">
A debtor to mercy alone
<span class="detailbutton"></span></span></a>
</li>
<li class="menu">
<span class="name"><a href="0301.html">
A lamp in the night, a song in time of sorrow
<span class="detailbutton"></span></span></a>
</li>