画像にはページの例があります。左右のテーブルの違いを見てください。左のフィールドは前の反復、右の反復です。私が必要とする:JQueryを使用して、ポイントAからポイントBにテーブルを移動する
(オン前の反復フィールド)新しい行
- 設定の背景色を作成、新しい行
その後に右のフィールドに新しい行を移動しますJQueryアニメーション。
最初のイメージ:
第二の画像:私はjQueryのソリューションを自分自身を使用してお勧めします
<div class="control">
<div class="prev_iter">
<div class="truthTable">
<table class="TT">
<tbody>
<tr>
<th class="bit" style="border: none"> </th>
<th class="bit" style="background-color: #87D37C">x<sub>2</sub></th>
<th class="bit" style="background-color: #87D37C">x<sub>1</sub></th>
<th class="bit" style="background-color: #87D37C">x<sub>0</sub></th>
</tr>
</tbody>
</table>
</div>
</div>
<div class="current_iter">
<div class="truthTable">
<table class="TT">
<tbody>
<tr>
<th class="bit" style="border: none"> </th>
<th class="bit" style="background-color: #87D37C">x<sub>2</sub></th>
<th class="bit" style="background-color: #87D37C">x<sub>1</sub></th>
<th class="bit" style="background-color: #87D37C">x<sub>0</sub></th>
</tr>
<tr>
<td class="bit" style="border: none">0: </td>
<td class="bit">0</td>
<td class="bit">0</td>
<td class="bit">0</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<div class="controlButtons">
<input id="back" name="back" onclick="controllerSwitchSteps(this.id);" type="button" value="<Previous">
Step <span id="stepNumber">2</span> from <span id="totalSteps">13</span>
<input id="next" name="next" onclick="controllerSwitchSteps(this.id);" type="button" value="Next>">
</div>
</div>
は、あなたがまだ 'javascript'または' jQuery'を試みたことがありますか? – blackandorangecat
いいえ、私は理解していないので試していません – shketok11