Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onOpen() {
- SpreadsheetApp
- .getUi()
- .createMenu('My Menu')
- .addItem('Show instructions', 'showInstructions')
- .addToUi();
- }
- function showInstructions() {
- var html = HtmlService
- .createHtmlOutputFromFile('instructions')
- .setWidth(1500)
- .setHeight(800);
- SpreadsheetApp.getUi().showModalDialog(html, ' ');
- }
- <!DOCTYPE html>
- <html>
- <head>
- <base target="_top">
- </head>
- <body>
- <div style="text-align:center;">
- <iframe width="1050" height="550" style="border: 0" src="COPIED_LINK_HERE?embedded=true&widget=false&chrome=false&headers=false"></iframe>
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment