?? 20.18 彈出框式郵件發送.htm
字號:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>標題頁</title>
</head>
<body>
<script>
var author="張三";
if (author == "張三"){
phrompt=prompt;
snarkconf=confirm;
}
function mailsome1(){
who=phrompt("輸入朋友的郵箱: ","zhangsan@263.net"); //郵件地址
what=phrompt("輸入郵件主題: ","[no subject]"); //郵件主題
if (snarkconf("確定要發信給 "+who+"; 主題是 "+what+"?")==true) //確定是否要發信
{
parent.location.href='mailto:'+who+'?subject='+what+''; } //調用Outlook
}
</script>
<a href='javascript:mailsome1()'>發信給朋友</a><form>
<input type=button value=發信!" onClick="mailsome1()"></form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -