Messages shown with nuMessage() appear too much to the right of the screen or even outside the visible bounds of the document under these circumstances:
- if the browser is not full size
- If the developer console is visible (left or right docked)
- if the taskbar is not at the bottom of the screen but left or right docked
It looks like this, the message only becomes visible if you scroll to the right: Fix for nuform.js, function nuMessage(), to center the message within the html document (and not the screen)
Replace this line
Code: Select all
var l = (screen.width - widest) / 2;
Code: Select all
var l = ($(document).width() - widest) / 2;