Quantcast
Channel: JOB.SH┃吕进博客
Viewing all articles
Browse latest Browse all 21

按钮与超链接

0
0
1、点击按钮在新窗口打开页面:
<input type=button onclick="window.open('http://cmcc.cn')" value="在新窗口">

2、点击按钮在当前窗口打开页面:
<input type=button onclick="window.location.href='http://lvjin.job.sh'" value="当前窗口">

3、在按钮中添加小图片:
<button onclick="window.open('http://v.cmcc.cn')" style="width:100px;height:40px;" value="提交">
  <img src="1.gif" class="img"/>&nbsp;&nbsp;<a class="text">提交</a>

Tags - , ,

Viewing all articles
Browse latest Browse all 21

Latest Images

Trending Articles





Latest Images