【发布时间】:2012-06-25 09:21:31
【问题描述】:
我想使用此处的 jQuery 插件创建动画 HTML 排名表:http://www.scottlogic.co.uk/2011/01/animating-html-ranking-tables-with-javascript/
我正在使用 Visual Studio 2010。我创建了一个新的 C# 网站,将以下 jQuery 文件保存在“Scripts/”中:
- animator.js
- jquery-1.4.3.js
- rankingTableUpdate.js
我的样式表位于此处:“App_Themes/Main Theme/Styles/Site.css”
我使用的是 Site.master 母版页。我已将以下代码粘贴到“Default.aspx”中:
<br />
<table border="1" cellpadding="2" cellspacing="2" width="40%">
<tr>
<th>Researcher</th>
<th>Close Ratio</th>
</tr>
<tr>
<td><strong>John</strong> Doe</td>
<td><strong>1</strong> in <strong>25</strong> CONV</td>
</tr>
<tr>
<td><strong>John</strong> Zert</td>
<td><strong>1</strong> in <strong>51</strong> CONV</td>
</tr>
<tr>
<td><strong>Johnny</strong> Halliday</td>
<td><strong>1</strong> in <strong>37</strong> CONV</td>
</tr>
<tr>
<td><strong>Johnathan</strong> Bell</td>
<td><strong>1</strong> in <strong>31</strong> CONV</td>
</table>
我想了解如何将此表连接到 JavaScript 并使其运行。
是否需要参考上表中的“更新”和“常量”列?如果是,我在哪里可以找到资源来做到这一点?
请帮忙!
【问题讨论】:
标签: c# jquery .net visual-studio html-table