0
我對移動應用程序開發和jQuery手機很新。現在我正試圖向表格中插入一個滑塊。我想要的是調整列寬,使滑塊有足夠的空間。代碼如下。問題是寬度根據列標題進行調整,我不希望列表中有列標題。我無法理解如何通過給出百分比來調整列寬。我正在測試它與漣漪,然後在Android平臺上。 在此先感謝所有誰可能需要幫助...jquery移動表列寬度
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.4.0/jquery.mobile-1.4.0.min.css" />
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<div data-role="page">
<div data-role="content">
<table data-role="table" data-mode="reflow" id="my-table" style="width: 100%">
<thead>
<tr>
<th>Column1</th>
<th style="width: 90%">Column2</th>
<th>Column3</th>
</tr>
</thead>
<tbody>
<tr>
<td><img src="" id="" width="30" height="30"></td>
<td class="title">
<form class="full-width-slider">
<label for="slider-12" class="ui-hidden-accessible">Slider:</label>
<input type="range" name="slider-12" id="slider-12" min="0"
max="100" value="50" data-mini="true">
</form>
</td>
<td>
<input type="text" maxlength="14" size="4" name="" id="" data-mini="true" value="" />
</td>
</tr>
</tbody>
</table>
</div>
非常感謝,我需要一張桌子,因爲我會添加行動態。你的表格演示鏈接就是我想要的。 – user2783976