' + head.innerHTML + rows + ''); printWindow.document.close(); printWindow.document.getElementById('print').addEventListener('click', function () { printWindow.print(); }); printWindow.opener = null; }); show(false); } function init(scope) { scope = scope || document; if (scope.nodeType === 1 && scope.matches('.tefl-planbook')) setup(scope); if (scope.querySelectorAll) scope.querySelectorAll('.tefl-planbook').forEach(setup); } window.TEFLPlanbook = { init: init }; function boot() { init(document); new MutationObserver(function (changes) { changes.forEach(function (change) { change.addedNodes.forEach(function (node) { if (node.nodeType === 1) init(node); }); }); }).observe(document.body, { childList: true, subtree: true }); } if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', boot, { once: true }); else boot(); })(); /* Separate from Planbook/notebook engines. Append once to shared course JS. */ (function () { 'use strict'; if(window.TEFLGrowingPlan){window.TEFLGrowingPlan.init(document);return;} function setup(root){ if(root.dataset.growingReady==='true')return; var stages=Array.from(root.querySelectorAll('[data-plan-stage]')); var progress=root.querySelector('[data-plan-progress]'),complete=root.querySelector('[data-plan-complete]'); if(!stages.length||!progress||!complete)return; root.dataset.growingReady='true'; function refresh(){var n=stages.filter(function(s){return s.dataset.prepared==='true';}).length;progress.textContent=n+' of '+stages.length+' stages prepared';complete.hidden=n!==stages.length;} stages.forEach(function(stage){ var work=stage.querySelector('.tefl-growplan__work'),btn=stage.querySelector('[data-prepare]'),record=stage.querySelector('[data-plan-record]'),summary=work.querySelector('summary'); work.addEventListener('toggle',function(){if(work.open)stages.forEach(function(s){var d=s.querySelector('.tefl-growplan__work');if(d!==work)d.open=false;});}); btn.addEventListener('click',function(){ if(stage.dataset.prepared==='true')return; stage.dataset.prepared='true';record.hidden=false;stage.querySelector('[data-stage-state]').textContent='Prepared';summary.textContent='Review the preparation';btn.textContent='Details added';btn.disabled=true;work.open=false;refresh();summary.focus(); }); }); root.querySelectorAll('[data-board]').forEach(function(board){ var step=0,btn=board.querySelector('[data-board-next]'),status=board.querySelector('[data-board-status]'); btn.addEventListener('click',function(){step++;var layer=board.querySelector('[data-board-layer="'+step+'"]');if(layer)layer.hidden=false; var labels=['Add the form patterns','Add the pronunciation notes','Board record complete'];btn.textContent=labels[step-1]; status.textContent=['Meaning notes added.','Form patterns and short answers added.','Pronunciation notes added. The written record is complete.'][step-1];if(step===3)btn.disabled=true; }); board.resetBoard=function(){step=0;board.querySelectorAll('[data-board-layer]').forEach(function(x){x.hidden=true;});btn.disabled=false;btn.textContent='Add the meaning notes';status.textContent='The model sentences are on the board.';}; }); root.querySelector('[data-reset-plan]').addEventListener('click',function(){ if(!window.confirm('Clear the added details and prepare the plan again?'))return; stages.forEach(function(s){delete s.dataset.prepared;s.querySelector('[data-stage-state]').textContent='To prepare';s.querySelector('[data-plan-record]').hidden=true;var d=s.querySelector('.tefl-growplan__work');d.open=false;d.querySelector('summary').textContent='Prepare this stage';var b=s.querySelector('[data-prepare]');b.disabled=false;b.textContent='Add these details to the plan';}); root.querySelectorAll('[data-board]').forEach(function(b){b.resetBoard();});refresh();stages[0].querySelector('summary').focus(); }); root.querySelector('[data-print-plan]').addEventListener('click',function(){ if(stages.some(function(s){return s.dataset.prepared!=='true';}))return; var w=window.open('','_blank');if(!w){progress.textContent='Allow a print window in your browser to print the completed plan.';return;} var header=root.querySelector('.tefl-growplan__header').cloneNode(true);header.querySelector('[data-plan-progress]').remove(); var body=header.innerHTML; stages.forEach(function(s){var h=s.querySelector('.tefl-growplan__stagehead').cloneNode(true);h.querySelector('[data-stage-state]').remove();body+='
'+h.innerHTML+s.querySelector('[data-plan-record]').innerHTML+'
';}); w.document.write('How people’s lives have changed: lesson plan '+body+'

Total: 60 minutes. Keep the materials, CCQs and board preparation with this plan.

');w.document.close();w.document.getElementById('gp-print').addEventListener('click',function(){w.print();});w.opener=null; }); refresh(); } function init(scope){scope=scope||document;if(scope.nodeType===1&&scope.matches('[data-growing-plan]'))setup(scope);if(scope.querySelectorAll)scope.querySelectorAll('[data-growing-plan]').forEach(setup);} window.TEFLGrowingPlan={init:init}; function boot(){init(document);new MutationObserver(function(changes){changes.forEach(function(c){c.addedNodes.forEach(function(n){if(n.nodeType===1)init(n);});});}).observe(document.body,{childList:true,subtree:true});} if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',boot,{once:true});else boot(); })();

Download your free TEFL guide

Get your free 20 page TEFL guide and find out what you need to kickstart your TEFL career. Learn about your options and the opportunities TEFL can give you!

×
75% Complete
75% Complete
You're just one step away!
Enter your details below and we'll get you signed up