我在开始游戏之前必须观看视频的页面上工作。视频和游戏链接位于同一页面上。有没有简单的方法来“锁定”一个链接,直到单击一个单独的链接。 这里是按钮的一个片段:如何防止点击按钮直到点击同一页上的单独按钮?
<table class="t1">
<tr>
<th class="th1"><a href="<?php echo $video_url;?>" target="_blank"><div type = "button" class="button button1">Watch Video</div></a></th>
<th class="th1"><a><div class="button button2">Objective:<div class ="desc"><?php echo $game_description;?></div></div></a></th>
<th class="th1"><a href="<?php echo $construct_url;?>" target="_blank"><div type = "button" class="button button3">Play Game</div></a></th>
</tr>
</table>
我看不到任何按键有 –
@AlonEitan我猜的联系是他的“按钮” – j08691
@ j08691你确定它不是** ** DIV'型= button'? :) –