<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>冒险岛-路西得分享专刷</title>
<script type="text/javascript" src="
http://static.sdg-china.com/avata/js/jquery/jquery-1.11.1.min.js"></script>
</head>
<script>
var count=0;
$(document).ready(function(){
var stop;
$("#start").click(function(){
stop = setInterval('share()',$("#time").val());
});
$("#stop").click(function(){
clearInterval(stop);
});
}
);
function share(){
count++;
$("#count").html(count)
$("#submit").submit();
}
</script>
<body>
<form id='submit' action='
http://act.mxd.sdo.com/project/20161214act/share.asp' method="post" target='iFrame'>
分享方式:<select id='type' name='type'>
<option value='1'>微博</option>
<option value='2'>微信</option>
</select>
发送间隔:<input type='text' id='time' value='3000'>
<input type='button' id='start' value='开始刷'>
<input type='button' id='stop' value='停止刷'>
发送次数:<label id='count'>0</label>
</form>
<iframe name="iFrame" style="display:none"></iframe>
</body>
</html>