- 浏览: 126945 次
- 性别:
- 来自: 深圳
文章分类
最新评论
单选按钮检测
<script language="javascript">
function checkform(){
if (document.form1.os1.value=="")
{
alert("Pleas Enter Your Character Name!");
document.form1.os1.focus();
return false;
}
MeetTime=document.form1.Year.value+"-"+document.form1.Month.value+"-"+document.form1.Day.value+" "+document.form1.Hour.value+":"+document.form1.Minutes.value;
if (document.form1.Country[0].checked)
{
document.form1.amount.value=document.form1.amount1.value;
document.form1.currency_code.value="USD";
document.form1.item_name.value="Gold in RuneScape2 ON "+MeetTime+document.form1.Zone.value;
}
else
{
document.form1.amount.value=document.form1.amount2.value;
document.form1.currency_code.value="GBP";
document.form1.item_name.value="Gold in RuneScape2 ON";
document.form1.item_name.value="Gold in RuneScape2 ON "+MeetTime+document.form1.Zone.value;
}
}
</script>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center bgColor=#cccccc
border=0 height="1517">
<TR>
<TD bgcolor="#FFFFFF" width="760" height="142" >
<!-- #include file="Head.asp" -->
</TD></TR>
<TR>
<TD height=490 bgcolor="#5C320E" width="760"><TABLE height=468 cellSpacing=0 cellPadding=0 bgColor=#ECCF95 border=0>
<TBODY>
<TR>
<TD colSpan=2 bgcolor="#8A502D" width="840" height="11">
<DIV align=center>
<p align="left"></DIV></TD></TR>
<tr>
<TD colSpan=2 bgcolor="#ECCF95" width="840" height="1">
<p align="center"><b>
</b>
</TD>
</tr>
<tr>
<TD bgcolor="#ECCF95" width="56" height="233">
<p> </TD>
<TD bgcolor="#ECCF95" width="784" height="233">
<p align="center" style="line-height: 100%; margin-top: 0; margin-bottom: 0">
<p align="left" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><strong><u><span lang="EN-US" style="color: blue"><font size="4">Product
information:</font></span></u></strong>
<p style="line-height: 150%; margin-top: 0; margin-bottom: 0">
<span lang="EN-US"><font size="3" face="Comic Sans MS">You
offer here for the time, which we need to gain
<font color="#FF0000">
Gold</font><span lang="EN-US" style="font-family: Arial; color: #8A502D">
</span>
in
the Wonderful World of <font color="#FF0000">RuneScape 2</font>. We
can equip you with this financial
means, to help you and your friends to adventure together, to fight
against in battlegrounds, to forge alliances, and compete with
enemies for power and glory. </font></span></p>
</TD>
</tr>
<TR>
<TD width="8" height=228>
<p align="right">
<b><font color="#800000" size="4" face="Arial"> </font></b></p>
<p> </p>
<p> </p>
</TD>
<TD width="1040" height=228>
<FORM id="form1" name="form1" onSubmit="javascript:return checkform();" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<TABLE class=style1 cellPadding=5 width=634 align=center height="187">
<TBODY>
<TR vAlign=center>
<TD align=right bgColor=#ffffff colSpan=2 height=21>
<DIV align=center><b><font face="Arial" size="2" color="#009300">Select
Quantity and Click </font><font face="Arial" size="2" color="#008000">BuyNow</font><font face="Arial" size="2" color="#009300">. Make rich playing life come ture!</font></b></DIV></TD></TR>
<TR vAlign=center bgColor=#ffffff>
<TD align=right width=87 height="25"><b><font face="Arial" size="2">Country:</font></b></TD>
<TD width=519 height="25">
<input name="Country" type="radio" onClick="form1.amount2.style.display='none';form1.amount1.style.display='';form1.Zone.value='EST';" value="US" checked>
US
<input name="Country" type="radio" value="UK" onClick="form1.amount1.style.display='none';form1.amount2.style.display='';form1.Zone.value='GMT';">
UK</TD>
</TR>
<tr>
<TD align=right width=87 bgcolor="#FFFFCC" height="19">
<b><font face="Arial" size="2">
Quantity:</font></b></TD>
<TD width=519 bgcolor="#FFFFCC" height="19">
<SELECT name="amount1" style="FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #29415a; FONT-FAMILY: Arial;display:yes" size=1 >
<OPTION value=9.69>美国货币</OPTION>
<OPTION value=9.69 >1,000,000 (GBP 9.69)</OPTION>
<OPTION value=14.49 >1,500,000 (GBP 14.49)</OPTION>
<OPTION value=18.99>2,000,000 (GBP 18.99)</OPTION>
<option value="26.99">3,000,000 (GBP 26.99)</option>
<option value="36.99">4,000,000 (GBP 36.99)</option>
</SELECT>
<SELECT name="amount2" style="FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #29415a; FONT-FAMILY: Arial;display:none" size=1 >
<OPTION value=9.69>英国货币</OPTION>
<OPTION value=14.49>1,500,000 (GBP 14.49)</OPTION>
<OPTION value=18.99>2,000,000 (GBP 18.99)</OPTION>
<option value="26.99">3,000,000 (GBP 26.99)</option>
<option value="36.99">4,000,000 (GBP 36.99)</option>
</SELECT></TD>
</tr>
<TR vAlign=center bgColor=#ffffff>
<TD align=right width=87 height="25"><b><font face="Arial" size="2">Character:</font></b></TD>
<TD width=519 height="25">
<font size="2" face="Arial">
<INPUT style="FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #29415a; FONT-FAMILY: Arial"
maxLength=200 name="os1" id="os1"></font> </TD></TR>
<tr>
<TD align=right bgcolor="#FFFFCC" height="19">Zone:</TD>
<TD bgcolor="#FFFFCC" height="19"><input name="Zone" type="text" id="Zone" value="EST" readonly />
</TD>
</tr>
<tr>
<TD align=right bgcolor="#FFFFCC" height="19">Date:</TD>
<TD bgcolor="#FFFFCC" height="19">Year
<select name="HYear" id="Year">
<%for i=year(now()) to year(now())+4%>
<option value="<%=i%>"><%=i%></option>
<%next%>
</select>
Month
<select name="Month" id="Month">
<%for i=1 to 12%>
<option value="<%=i%>" <%if month(now())=i then response.Write("selected")%> ><%=i%></option>
<%next%>
</select>
Day
<select name="Day" id="Day">
<%for i=0 to 31%>
<option value="<%=i%>" <%if day(now())=i then response.Write("selected")%>><%=i%></option>
<%next%>
</select> </TD>
</tr>
<tr>
<TD align=right width=87 bgcolor="#FFFFCC" height="19">
<b><font face="Arial" size="2">
Time:</font></b></TD>
<TD width=519 bgcolor="#FFFFCC" height="19"><label>
Hour
<select name="Hour" id="Hour">
<%for i=0 to 23%>
<option value="<%=i%>"><%=i%></option>
<%next%>
</select>
Minutes
<select name="Minutes" id="Minutes">
<%for i=0 to 59%>
<option value="<%=i%>"><%=i%></option>
<%next%>
</select>
</label></TD>
</tr>
<TR align=middle bgColor=#c5d19b>
<TD colSpan=2 bgcolor="#FFFFCC" height="20">
<INPUT type=hidden value="Faction" name="on0" id="on0" >
<INPUT type=hidden value="Character" name="on1" id="on1" >
<input type=image height=23 onClick="return checkform();" alt="Make payments with PayPal - it's fast, free and secure!" width=68 src="Images/x-click-but23.gif" border=0 name="submit" id="submit">
<INPUT type=hidden value="测试数值" name="amount" id="amount">
<INPUT type=hidden value="测试数值" name="currency_code" id="currency_code">
<INPUT type=hidden value="测试数值" name="item_name" id="item_name">
<INPUT type=hidden value=969 name="item_number" id="item_number">
<INPUT type=hidden value=1 name="no_note" id="no_note">
<INPUT type=hidden value=2 name="no_shipping" id="no_shipping">
<INPUT type=hidden value="_xclick" name="cmd" id="cmd">
<INPUT type=hidden value="bill@gamesavor.com" name="business" id="business"> </TD>
</TR>
</TBODY>
</TABLE>
</FORM>
</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD bgcolor="#ECCF95" width="760">
<TABLE cellSpacing=5 cellPadding=5 width="100%" border=0>
<TBODY>
<TR>
<TD class=style4 bgcolor="#ECCF95" width="23">
<b>
</b>
</TD>
<TD class=style4 bgcolor="#ECCF95" width="740">
<p style="line-height: 100%"><span lang="EN-US" style="FONT-FAMILY: Arial; font-weight:700"><u><span style="font-weight: 700" lang="EN-US"><font color="#0000ff" size="3">Notice
and Payment:</font></span></u></span><br>
<font size="3" face="Comic Sans MS">Please notice to include the following
information with Paypal note, as it will delay the delivery time
if not properly included.<font color="#ff0000"><br>
</font><font color="#009300">* User Name<br>
* When will you online</font><font color="#ff0000"><br>
* Please notice to provide your shipping address when making the
payment. </font><font color="#FF0000">First </font><font color="#0000FF">click
on the "provide shipping address" option, then Select
the address.</font> </font></p>
<p style="line-height: 150%; margin-top: 0; margin-bottom: 0"><u><span lang="EN-US" style="font-weight: 700"><font color="#0000ff" size="3" face="Arial">Delivery:<o:p>
</font></span>
</u></p>
<p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font face="Comic Sans MS" size="3"><span lang="EN-US">After we have
received your payment, we will deliver the gold to you in 1-6
hours, through face-to-face
trade system, at east bank of varrock.<o:p> Nevertheless</o:p>, we will finish it much faster.
<font color="#0000ff">We
guarantee fast delivery and perfect service!</font><span style="mso-font-kerning: 0pt"><o:p>
</span></span><span lang="EN-US" style="font-weight: 700">
</span></font></p>
<p style="line-height: 100%"><u><span lang="EN-US" style="font-weight: 700"><font color="#0000ff" size="3" face="Arial">Problem
Solving:<o:p>
</font></span>
</u>
<p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="3" face="Comic Sans MS">If
the delivery does not reach you within 6 hours after we have
received your payment, please don't hesitate to contact us
as soon as possible.</font></p>
<p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="3"><font face="Comic Sans MS">For the
delayed delivery made by us, we will return your payment back or provide you extra gold as
compensation.<o:p>
</font><b>
</b></font></p>
<p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> </p>
<p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><u>
<span lang="EN-US" style="font-weight: 700"><font color="#0000ff" size="3" face="Arial">Contact
Us:</font></span></u></p>
<p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2" face="Arial"><o:p>
</font><font size="3" face="Comic Sans MS"> Should you have any
question, suggestion, praise or complaint, we are for you here
24hours:</font></p>
<p style="line-height: 100%; margin-left: 8; margin-top: 0; margin-bottom: 0" align="center"><b><font size="2" face="Arial">
<img border="0" src="http://www.gamesavor.com/images/GAMESAVOR-Contact-Info.jpg" width="270" height="146"></font></b></p>
<p style="line-height: 100%; margin-left: 8; margin-top: 0; margin-bottom: 0"><font size="2"> </font></p>
<p style="line-height: 100%"><span lang="EN-US"><font size="3" face="Comic Sans MS">For
further information please contact us , you will find
never-ending service of <span style="color: red">Gold</span> and
<span style="color: #FF0000">P</span><span style="color: red">ower-leveling</span>.</font></span></p>
<p style="line-height: 100%"> </p>
<p align="center" style="line-height: 100%">
<span lang="EN-US" style="font-size: 18.0pt">
<font face="Arial">
Thanks for Looking and Happy Playing!</font></span></p>
<p style="line-height: 100%; margin-left: 8; margin-top: 0; margin-bottom: 0" align="center"> </p>
</TD>
</TR>
</TBODY></TABLE>
</TD></TR>
<TR>
<TD bgcolor="#ECCF95" width="760">
<DIV align=center>
<p>Copyright 2001-2005 <a href='http://www.gamesavor.com/index.asp'>wow gold</a>|<a href='http://www.gamesavor.com/index.asp'>world of warcraft gold</a>|<a href='http://www.gamesavor.com/index.asp'>WOW Gold Cheap wow</a>|<a href='http://www.gamesavor.com/index.asp'>sell WOW Gold Cheap wow</a>|<a href='http://www.gamesavor.com/index.asp'>world of warcraft gold fast</a>|<a href='http://www.gamesavor.com/index.asp'>WOW Gold Cheap wow swap</a>|<a href='http://www.gamesavor.com/index.asp'>real world of warcraft gold</a> </p>
</DIV>
</TD></TR></TABLE>
相关推荐
CSS3引入了新的选择器、伪类和属性,如`:checked`伪类,它可以检测到单选按钮是否被选中。此外,`transition`和`transform`属性可用于创建平滑的动画效果。 在本项目中,我们可能看到以下CSS样式: ```css /* 隐藏...
文本框监听器可以实时检测用户的输入,根据输入内容调整单选按钮的显示和行为,从而提高应用的交互性和用户体验。这种动态响应用户输入的设计思路在很多场合都非常实用,比如搜索功能、过滤选项等。在实际项目中,...
1. SVG图形元素:创建自定义的单选按钮和复选框形状,如圆形(单选按钮)和矩形(复选框)。 2. CSS3动画:通过CSS3的关键帧动画实现平滑的过渡效果,如点击时的形状变化、颜色变化等。 3. jQuery事件监听:监听用户...
例如,当用户点击单选按钮时,可以使用`.prop('checked', true)`来设置其选中状态,同时更新其他单选按钮的状态以确保只能选择一个。对于多选按钮,可以使用`.is(':checked')`来检查是否被选中,并根据需要执行相应...
例如,`:checked`可以检测到单选按钮是否被选中,从而改变选中时的样式。 2. **边框与背景**:使用`border`,`background-color`,`background-image`等属性,可以创建各种复杂的边框效果和背景图案,为单选按钮...
当用户点击某个单选按钮时,我们可以检测其选中状态,并根据状态更改文本域和下拉菜单的`disabled`属性。`disabled`属性为`true`时,元素将变为只读,用户无法编辑;反之,如果`disabled`为`false`,则元素可被编辑...
1. 使用`:checked`伪类来检测单选按钮或复选框的选中状态,结合jQuery的`.change()`事件,当用户选择或取消选择时,更新按钮的样式。 2. 利用CSS3的`border-radius`属性创建圆角效果,让按钮看起来更加现代和精致。 ...
这个库的核心在于利用`:checked`伪类来检测复选框或单选按钮的状态变化,当用户点击后,通过CSS3的动画效果展示不同的视觉反馈。例如,可以设计一个平滑的过渡效果,如按钮颜色渐变、大小缩放或者位置移动等。 为了...
在这个主题中,我们将深入探讨 AFrame 如何处理输入键盘按钮、复选框、单选按钮、开关、表单以及吐司提示等交互元素,这些都是在 WebVR 应用中常见的用户界面组件。 1. **键盘输入**:AFrame 提供了 `a-event` 组件...
jQuery作为最流行的JavaScript库之一,提供了一种非常简洁的方式来检测用户是否选择了某个单选按钮。 首先,我们需要了解单选按钮在HTML中的基本结构。单选按钮是通过标签来实现的,并且通过name属性来将一组单选...
代码的主要逻辑是使用事件监听器来检测单选按钮上的点击事件。由于HTML标准只允许单选按钮在单击时切换状态,我们需要在双击时捕捉两个连续的单击事件,然后执行取消选择的操作。 以下是一个简化的示例代码: ```...
在这个项目中,单选按钮和复选框可能就是通过这些元素构建的。 2. **SVG属性**:SVG元素有多种属性,如`fill`(填充颜色)、`stroke`(边框颜色)、`stroke-width`(边框宽度)等,通过改变这些属性可以实现动画...
功能点涉及:射线碰撞检测、空间中画线功能、判断点在多边形内的算法等。
本主题将详细探讨如何创建一个具有悬停效果的位图按钮,以及如何利用这种技术实现单选按钮和复选按钮功能。我们将重点关注以下几个方面: 1. **悬停按钮的概念与实现** 悬停按钮是一种具有视觉反馈效果的按钮,当...
在这个特效中,单选按钮可能被隐藏,取而代之的是一个可视化的图标按钮,当用户点击时,单选按钮的状态会改变,同时对应的图标也会有相应的视觉反馈。 实现这个特效的过程可能包括以下步骤: 1. 引入图标库:在HTML...
4. 你还可以通过响应单选按钮的BN_CLICKED消息来检测它的状态变化。在对话框类的成员函数中,为单选按钮添加消息映射并编写处理函数。 ```cpp ON_BN_CLICKED(IDC_RADIO1, &CYourDialog::OnBnClickedRadio1) ``` ...
本文将深入探讨如何使用jQuery来判断单选按钮(radio)是否有被选中,并获取选中的值。 首先,我们需要理解HTML中的`<input type="radio">`元素。在网页中,单选按钮通常用于提供一组互斥的选择选项,用户只能选择...
1. **伪类选择器**:CSS3中的`:checked`伪类可以用来检测单选按钮是否被选中。当用户点击单选按钮时,我们可以改变与其关联的图形或文本的样式,模拟高尔夫球被击打的效果。 2. **自定义复选框和单选按钮**:通过...
首先,`index.html`文件是整个页面的结构基础,它包含了HTML标记,这些标记用于创建单选按钮和复选框。在HTML中,我们通常使用`<input>`元素来定义单选框(type="radio")和复选框(type="checkbox")。在本示例中,...
我们接下来看看jQuery对单选按钮 radio 的操作。 1. 彩色处于关闭的时候色块不可用 需要两步,当页面打开时,检测如果彩色关闭的话,让色块的“开”不可用: if($(#coloroff[checked])) { //alert(Hello N