我的网站在这里使用“uniform” jscript 插件,但它不起作用,我只是不确定将函数调用代码放在哪里。
如果您转到“联系我们”,您将看到该表格。这是代码:
<head>
<script src="/js/Uniform/jquery.uniform.js" type="text/javascript"></script>
<link rel="stylesheet" href="/css/Uniform.css" type="text/css" media="screen" charset="utf-8" />
<script type="text/javascript">
$("select, input, button, textarea").uniform();
</script>
</head>
<body class="contact">
<!--#include virtual="/Assets/Templates/Public/Franchise/Contact.asp"-->
<div class="middle-content-grey">
<%
If blnShowForm = True then
%>
<form name="FeedbackForm" method="post" action="Feedback.asp">
<input type="hidden" name="FormAction" value="New" />
<label>Name:
<span class="smaller">Main contact</span>
</label>
<input type="text" name="strCustomerName" value="<% = strCustomerName %>" size="50" maxlength="112" />
<br />
<label>Company Name:
<span class="smaller">If applicable</span>
</label>
<input type="text" name="strCompanyName" value="<% = strCompanyName %>" size="50" maxlength="100" />
<br />
<label>Email Address:
<span class="smaller">Primary email</span>
</label>
<input type="text" name="strEmailAddress" value="<% = strEmailAddress %>" size="50" maxlength="255" />
<br />
<label>Phone Number:
<span class="smaller">Primary phone</span>
</label>
<input type="text" name="strContactPhone" value="<% = strContactPhone %>" size="50" maxlength="20" />
<br />
<label>Comments:
<span class="smaller">Reason for your enquiry</span>
</label>
<textarea name="strComments" rows="8" value="<% = strComments %>" cols="30"></textarea>
<button class="medium blue form" type="submit">Submit</button>
<div class="spacer"></div>
</form>
</div>
<br />
</div>
</body>
它使用来自 uniform.css 的精灵图像。
如果有人能告诉我它应该去哪里,那将不胜感激。