How do I insert line breaks and other such things into an alert or confirm box?
Also, is it possible to customise the options away from the default OK and Cancel?
Also, lol, why doesn’t it like when I try to concatenate stuff together to form the confirm message:
[code]function checkScreen() {
if (screen.width<=1152){
document.fullscreen.src=’images/full-screen-blinker.gif’;
if (confirm(“Your screen resolution is ” + screen.width + ” x ” + screen.height + “.
For resolutions of 1024 x 768 or lower, it is recommended that you switch to Theatre Mode, in order to view courses properly.
Would you like to switch to Theatre Mode now?”)) {fullScreen(‘Nav Test.html’)}
smallRes=true;}
}