jquery个人简历网页版换图片改字体

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>个人简历</title>
    <style type="text/css">
     body
        {
            background-image:url(image1/9.jpg);
            }
    </style>
    <script src="jquery-1.9.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $('#btntihuanpic').click(function () {
                var numb = Math.random();
                var numb1 = Math.floor(numb * 15 + 1);
                $('body').css('background-image', 'url(image1/' + numb1 + '.jpg)');
            })
            $('#btnfont').click(function () {
              
                $('body').css('font-family', '楷体,Arial');
            })
        })
       
    </script>
</head>
<body>  
<center>    
<h1>个人简历</h1><br/><br/>
<input type="button" id="btntihuanpic" value="替换背景图片" />
<input type="button" id="btnfont" value="换字体" />       
<table border="1"  width="900" height="10">       
<tr align="center">       
<th>姓&nbsp名</th>      
<th> <form name="myform" action="text.asp" method="post">      
<br>
<input type="text" name="user">      
</form> </th>       
<th>性&nbsp别</th>      
<th> <form name="myform" name="text.asp" method="post">      
<input type="radio" name="A">男      
<input type="radio" name="A">女        
<th rowspan="3">照片</th>      
<th rowspan="3"><img style="width:120px;height:130px;" alt="" src="images/100_9612.JPG" /></th>
   
</tr>       
<tr align="center">         
<th>出生年月</th>      
<th>
<form name="myform" name="text.asp" method="post">           

<select name="select1">               
<option value="1985" selected>1985</option>               
<option value="1986" selected>1986</option>               
<option value="1987" selected>1987</option>               
<option value="1988" selected>1988</option>               
<option value="1989" selected>1989</option>               
<option value="1990" selected>1990</option>               
<option value="1991" selected>1991</option>               
<option value="1992" selected>1992</option>               
<option value="1993" selected>1993</option>                           
<option value="1994" selected>1994</option>             
</select>                        

<select name="select2">               
<option value="01" selected>01</option>               
<option value="02" selected>02</option>               
<option value="03" selected>03</option>               
<option value="04" selected>04</option>           
</select>             

<select name="select3">               
<option value="01" selected>01</option>               
<option value="02" selected>02</option>               
<option value="03" selected>03</option>               
<option value="04" selected>04</option>           
</select>           
</form>             
<th>名族</th>      
<th>
<form name="myform" action="text.asp" method="post">      
<br><input type="text" name="user"><br>      
</form>
</th>
</tr>     
<tr align="center">                  
<th>学历</th>      
<th> <form name="myform" action="text.asp" method="post">      
<br><input type="text" name="user"><br>      
</form></th>       
</th>               
<th>专业</th>      
<th>
<form name="myform" action="text.asp" method="post">      
<br><input type="text" name="user"><br>      
</form>
</th>       
</th>                      
</tr>    
<tr align="center">       
<th>毕业学校</th>       <th> <form name="myform" action="text.asp" method="post">       <br><input type="text" name="user"><br>       </form></th>        </th>        <th>联系电话</th>       <th> <form name="myform" action="text.asp" method="post">       <br><input type="text" name="user"><br>       </form></th>        </th>        <th>家庭住址</th>       <th> <form name="myform" action="text.asp" method="post">       <br><input type="text" name="user"><br>       </form></th>        </th>

</tr>    
<tr align="center">        
<th>个人简介</th>      
<th> <textarea name="text" rows=20  cols=40 >      
</textarea><br>      

<th>自我介绍</th>      
<th colspan="3"> <textarea name="text" rows=20  cols=40 >      
</textarea><br>      
</th>   
</tr>    
</table>  
</center> 
<body>
</html>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值