This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <section> | |
| <h1>文字中含有縮寫時</h1> | |
| <p>網頁超文字應用技術工作小組 | |
| <abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr> 是一個以推動網路HTML標準為目的而成立的組織。在2004年,由Apple公司、Mozilla基金會和Opera軟體公司所組成。 | |
| </p> | |
| </section> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sendmail = () => { | |
| let templateParams = { | |
| "userMail": "xxxxx@gmail.com", | |
| "user": "Lai", | |
| "img": "<img src='https://blog.devdon.com/wp-content/uploads/2018/05/good-ideas-logo.png'></img>" | |
| } | |
| let service_id = "default_service"; | |
| let template_id = "testmail"; | |
| let userID = "user_xxxxxxxxxxxxxxx" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @page { | |
| size: A4 portrait; | |
| margin-top: 3cm; | |
| } | |
| @page :first { | |
| margin-left: 4cm; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media print{ | |
| * { | |
| -webkit-print-color-adjust: exact !important; | |
| } | |
| .noBreak { | |
| break-inside: avoid; | |
| } | |
| .noPrint { | |
| display: none; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media print{ | |
| * { | |
| -webkit-print-color-adjust: exact !important; | |
| } | |
| .noBreak { | |
| break-inside: avoid; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media print { | |
| * { | |
| -webkit-print-color-adjust: exact !important; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let sendButton = document.querySelector('button'); | |
| function send() { | |
| let name = document.querySelector('#nameValue').value; | |
| let phone = document.querySelector('#phoneValue').value; | |
| let demand = document.querySelector('#demandValue').value; | |
| $.ajax({ | |
| url: "填入剛剛取得的 API URL", | |
| data: { | |
| "name": name, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function doGet(e) { | |
| //取得參數 | |
| var params = e.parameter; | |
| var name = params.name; | |
| var phone = params.phone; | |
| var demand = params.demand; | |
| //sheet資訊 | |
| var SpreadSheet = SpreadsheetApp.openById("請輸入自己的sheet id"); | |
| var Sheet = SpreadSheet.getSheets()[0]; |