Gui needs a visual indicator of focus being on the prompter (frmMain.xul line 644, this doesn't work)
frmMain.xul line 644 <browser id="ctlScriptPreview" type="content-primary" flex="1" style="border:3px solid #306EFF;" onload="alert(this); document.getElementById('ctlScriptPreview').style.borderColor='red';" oncommand="alert(this); document.getElementById('ctlScriptPreview').style.borderColor='red';" onblur="this.style.borderColor='red';"/>
Sadly, this does not work.
teleprompter.js line ~47 adding: document.onblur=function(e){ document.body.style.border = "0px"; }
document.onfocus=function(e){ document.body.style.border = "3px solid blue"; }
Is close, but causes preview & window to have different sizes.
Log in to post a comment.
frmMain.xul line 644
<browser id="ctlScriptPreview" type="content-primary" flex="1"
style="border:3px solid #306EFF;"
onload="alert(this); document.getElementById('ctlScriptPreview').style.borderColor='red';"
oncommand="alert(this); document.getElementById('ctlScriptPreview').style.borderColor='red';"
onblur="this.style.borderColor='red';"/>
Sadly, this does not work.
teleprompter.js line ~47 adding:
document.onblur=function(e){
document.body.style.border = "0px";
}
document.onfocus=function(e){
document.body.style.border = "3px solid blue";
}
Is close, but causes preview & window to have different sizes.