PHP MySQL表鼠标悬停事件以显示存储在MySQL中的信息(使用Dreamweaver)
我在mysql中有一个玩家及其信息的数据库。我在dreamweaver中创建了一个表,显示所有玩家及其信息。我想显示一个与此表分开的播放器配置文件(存储在mysql中),并希望在鼠标悬停在表中的播放器上时更改此信息。 这可能吗?我该怎么做?任何帮助或教程链接都将收到! 我有我的页面截图,但由于声誉问题,我无法发布。如果有人想看到我的想法,也许我可以发送给他们PHP MySQL表鼠标悬停事件以显示存储在MySQL中的信息(使用Dreamweaver),php,mysql,mouseevent,dreamweaver,Php,Mysql,Mouseevent,Dreamweaver,我在mysql中有一个玩家及其信息的数据库。我在dreamweaver中创建了一个表,显示所有玩家及其信息。我想显示一个与此表分开的播放器配置文件(存储在mysql中),并希望在鼠标悬停在表中的播放器上时更改此信息。 这可能吗?我该怎么做?任何帮助或教程链接都将收到! 我有我的页面截图,但由于声誉问题,我无法发布。如果有人想看到我的想法,也许我可以发送给他们 <div class="playerInfoContainer"> <table width="95%"
<div class="playerInfoContainer">
<table width="95%" border="0" cellpadding="3">
<caption>
Player Profile
</caption>
<tr>
<td><?php echo $row_Recordset1['PlayerProfile']; ?></td>
</tr>
</table>
</div>
</div>
<div class="squadListContainer">
<div class="DatabaseContainer">
<table width="95%" border="0" cellpadding="3">
<caption>
Bedlinog Veterans Squad
</caption>
<tr>
<th scope="col">Player Name</th>
<th scope="col">Position</th>
<th scope="col">Date of Birth</th>
<th scope="col">Points Tally</th>
<th scope="col">Man of the Matches</th>
</tr>
<?php do { ?>
<tr>
<td width="130"><?php echo $row_Recordset1['PlayerName']; ?></td>
<td width="100"><?php echo $row_Recordset1['Position']; ?></td>
<td width="100"><?php echo $row_Recordset1['DateOfBirth']; ?></td>
<td width="100"><?php echo $row_Recordset1['PointsTally']; ?></td>
<td width="100"><?php echo $row_Recordset1['MOM']; ?></td>
</tr>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
</table>
</div>
玩家简介
贝德林诺格退伍军人队
球员姓名
位置
出生日期
积分记录
火柴手
首先,将所有显示的鼠标悬停数据预构建到单独的XML/JSON文件中。这样,当有人用光标发疯时,数据库上就不会同时显示15个项目
其次,使用jquery显示mouseover事件,用单独的HTML文件填充页面上的div
只要你的jquery是正确的,并且你的css技能达到了标准,细节将根据需要更改,并在从一个“团队/小队”到下一个“团队/小队”的过程中保持正确的外观/感觉。基本上,我想通过在表中选择一名球员,在他身上运行鼠标,在单独的表中显示他的个人资料。谢谢你的信息。你知道上面有什么好的教程吗?我能得到上面的一些例子吗。我知道你想让我做什么,但我没有能力将其转化为代码。