永发信息网

对于一个点名器!开始和停止click事件应该怎么写呢?

答案:1  悬赏:10  手机版
解决时间 2021-04-21 11:58
  • 提问者网友:感性作祟
  • 2021-04-21 02:57
是用C#语言!
最佳答案
  • 五星知识达人网友:轮獄道
  • 2021-04-21 03:31

PPT点名程序制作



1、新建一个PPT。
2、选择“视图”——“母版”——“幻灯片母版”
3、插入文本框。
4、选择“插入”——“幻灯片编号”。
5、调整字体大小
6、关闭母版视图
7、点击左侧小幻灯片,敲击回车键。
8、在任意幻灯片空白处单击右键“幻灯片切换”
9、去掉换片方式中“单击鼠标时”前的对勾,在“每隔”前加对勾。
10、点击“应用于所有幻灯片”。
11、选择“幻灯片放映”——“设置放映方式”——“循环放映,按ESC键终止”
12、确定即可
13、观看效果


js版


<html>
<head><title>二班点名程序</title>
<script language="javascript">
var erb=new Array("蔡月燕","陈朝阳","陈春红","陈德波","陈苏启","陈小慧","陈小书","陈裕韩","陈尊乐","郭海","何帆","胡源","黄国望","黄玲玲","黄茜茜","黄日","黄松龄","黄田帮","黄玉信","蒋丽君","蒋丽丽","蒋贤斌","李小东","梁世永","林洛洛","林茂","林松玲","林夏萍","林香蕉","刘荣管","吕蒙蒙","缪浩","木石滔","屠德雅","吴宝清","吴静","吴晓","肖方俊","谢军","谢星星","许允超","杨梨梨","杨小娜","叶冬星","叶嫔嫔","叶珍珠","易思思","曾 鸿","曾瑞杰","詹加俭","张仁杰","章聪聪","章素伟","郑彬彬","周婷婷","周欣欣","周益","朱方钢","庄彬彬","庄明科");
var a,i,b;
function cj(){
a=Math.round(Math.random()*10);
b=Math.round(Math.random()*10);
i=a*5+b;
if(i>=60)i=i-1;
alert(erb[i]+"--你答对了吗?");


}
</script>
<body>
<form>
<center>
<input type="button" value="点此随机抽取" onClick="cj()">
</center>
</form>
</body>
</head>
</html>









我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯