Android 带边框的jquery mobile和带滚动条的内部边框 我使用了嵌套框架, php是 jQuery移动Web应用程序 $(文档).ready(函数() { $('第页')。滚动(); var数据=‘cat=饮料’; $.ajax ( { url:'rgh.php', 类型:“POST”, 数据:数据, 成功:功能(数据) { $(“#加载内容”).html(数据); } } ) $(“.closeBtn”)。单击(函数(){ $(“.qtpoop”).css('display','none'); }) });
当用户单击leftBar.php的选项时,它会反映在rightBar.php上并动态显示内容,浏览器只显示rightBar框架的滚动条,这在PC上很好,但在Android设备上不会显示,它会向webview显示整个滚动条,我只需要rightBar框架在Android webview中显示滚动条?有人能帮我吗?是的,是的Android 带边框的jquery mobile和带滚动条的内部边框 我使用了嵌套框架, php是 jQuery移动Web应用程序 $(文档).ready(函数() { $('第页')。滚动(); var数据=‘cat=饮料’; $.ajax ( { url:'rgh.php', 类型:“POST”, 数据:数据, 成功:功能(数据) { $(“#加载内容”).html(数据); } } ) $(“.closeBtn”)。单击(函数(){ $(“.qtpoop”).css('display','none'); }) });,android,jquery-mobile,Android,Jquery Mobile,当用户单击leftBar.php的选项时,它会反映在rightBar.php上并动态显示内容,浏览器只显示rightBar框架的滚动条,这在PC上很好,但在Android设备上不会显示,它会向webview显示整个滚动条,我只需要rightBar框架在Android webview中显示滚动条?有人能帮我吗?是的,是的 i have used nested frames, <!DOCTYPE html> <html> <head&
i have used nested frames,
<!DOCTYPE html>
<html>
<head>
</head>
<frameset rows="200px,500px">
<frame src="topBar.html" > <!-- top frame -->
<frameset cols="30%,70%">
<frame src="leftBar.php" noresize /> <!-- left frame-->
<frame src="rightBar.php" name="rightBar" id="rightBar" frameborder="yes" style="overflow:scroll"/> <!-- left frame--> <!-- right frame-->
</frameset>
</frameset>
</html>
the rightBar.php is
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>jQuery Mobile Web App</title>
<link href="jquery.mobile-1.0a3.min.css" rel="stylesheet" type="text/css"/>
<link href="style/jquery.mobile.scrollview.css" rel="stylesheet" type="text/css"/>
<script src="jquery-1.5.min.js" type="text/javascript"></script>
<script src="jquery.mobile-1.0a3.min.js" type="text/javascript"></script>
<script src="js/jquery.mobile.scrollview.js" type="text/javascript"></script>
<!-- This reference to phonegap.js will allow for code hints as long as the current site has been configured as a mobile application.
To configure the site as a mobile application, go to Site -> Mobile Applications -> Configure Application Framework... -->
<script src="/phonegap.js" type="text/javascript"></script>
<script>
$(document).ready(function()
{
$('#page').scroll();
var data = 'cat=drinks' ;
$.ajax
(
{
url:'rgh.php',
type: "POST",
data:data,
success: function (data)
{
$("#loadContent").html(data);
}
}
)
$(".closeBtn").click(function(){
$(".QTPopup").css('display', 'none');
})
});
</script>
</head>
<body>
<div data-role="page" id="page" data-rel="dialog" data-transition="pop">
<div data-role="content" data-position="fixed">
<ul data-role="listview" id="loadContent" data-filter="true" data-scroll="true">
</ul>
</div>
</div>
</body>
</html>