2011-09-08 9 views
0

以下のpage2フッターに2つの選択リストビューを追加しようとしています。私はフッターの位置を固定し、リストビューとリンクは正常に動作します。私の問題は、テキストを追加する以外に、画面幅を広げるためにリストビューのサイズを変更する方法を見つけることができないということです。フッタのリストビュー "ボタン"は小さく、その幅を制御したいと思っています。ありがとうjquery mobileページのフッターの問題にリストビューを追加する

<!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"/> 
<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="/phonegap.js" type="text/javascript"></script> 
</head> 
<body> 

<div data-role="page" id="page"> 
<div data-role="header"> 
    <h1>Page One</h1> 
</div> 
<div data-role="content"> 
    <ul data-role="listview"> 
     <li><a href="#page2">Page Two</a></li> 
     <li><a href="#page3">Page Three</a></li> 
     <li><a href="#page4">Page Four</a></li> 
    </ul>  
</div> 
<div data-role="footer"> 
    <h4>Page Footer</h4> 
</div> 
</div> 

<div data-role="page" id="page2"> 
<div data-role="header"> 
    <h1>Page Two</h1> 
</div> 
<div data-role="content"> 
    Content  
</div> 
<div data-role="footer" align="center" data-position="fixed" data-theme="c"> 
    <ul data-role="listview" data-theme="b" data-inset="true"> 
    <li><a href="#page">Page One </a></li><br> 
     <li><a href="#page3">Page 3</a></li> 
    </ul> 
</div> 
</div> 

<div data-role="page" id="page3"> 
<div data-role="header"> 
    <h1>Page Three</h1> 
</div> 
<div data-role="content"> 
    Content  
</div> 
<div data-role="footer"> 
    <h4>Page Footer</h4> 
</div> 
</div> 

<div data-role="page" id="page4"> 
<div data-role="header"> 
    <h1>Page Four</h1> 
</div> 
<div data-role="content"> 
    Content  
</div> 
<div data-role="footer"> 
    <h4>Page Footer</h4> 
</div> 
</div> 

</body> 
</html> 

答えて

0

私は必要なことをしたnavbarを追加しました。

関連する問題