PermitAIO Expediter
Sample data · demo
Exit preview
Walkthrough
Expediter
/button>':"")+'
'+(s.click?"Skip":(SI===TOUR.length-1?"Finish":"Next"))+'
'; var prevB=document.getElementById("tPrev"), nextB=document.getElementById("tNext"); if(prevB) prevB.onclick=function(e){e.stopPropagation();prev()}; if(nextB) nextB.onclick=function(e){e.stopPropagation();next()}; var cw=c.offsetWidth, ch=c.offsetHeight, side=s.side||"bottom", x, y; if(side==="right"){x=Math.min(r.right+18, innerWidth-cw-8); y=Math.max(8, r.top)} else if(side==="top"){x=Math.max(8, Math.min(r.left, innerWidth-cw-8)); y=Math.max(8, r.top-ch-16)} else {x=Math.max(8, Math.min(r.left, innerWidth-cw-8)); y=Math.min(innerHeight-ch-8, r.bottom+16)} c.style.left=x+"px"; c.style.top=y+"px"; ptr.style.display="block"; ptr.style.left=(r.left+r.width/2-8)+"px"; ptr.style.top=(side==="top"? r.top-28 : r.bottom+4)+"px"; } document.addEventListener("click", function(e){ if(!tourOn) return; var s=TOUR[SI]; if(s && s.click && e.target.closest(s.sel)){ if(s.sel==="[data-v=dashboard]"){view="dashboard";role="expediter";render()} if(s.sel==="#asContractor"){role="contractor";view="dashboard";render()} next(); } }); render(); setTimeout(startTour, 400);