Hi Paul
Thank you for the donation.
There isn’t a built-in option to control where the popup opens. As you have discovered it should always open in the centre of the screen. Note: if the browser is on the secondary monitor of a two monitor system this may not be the case as the width of the two browsers may be summed before the position is calculated.
If you are prepared to edit the plugin you can change the default position where the popup will appear. The line that governs this is quite simple and should be fairly self-explanatory.
Open alligator-menu-popup.php in a text editor and have a look at line 92
var left = (screen.width/2) - (w/2);
This means that the position of the left side of the popup will appear at a distance from the left side of the monitor equivalent to half the width of the screen minus half the width of the popup window – ie centred.
To change this to make it centred to a point at a distance of a third of the width of the screen from the left edge of the screen you could change this to:
var left = (screen.width/3) - (w/2);
or similarly a third from the right:
var left = (screen.width/1.5) - (w/2);
If you want it to always appear 50 pixels from the left edge, you could use
var left = 50;
Or 50 pixels from the right edge:
var left = (screen.width) - (w) - 50;
It isn’t normally recommended to edit a plugin, however this is a very simple plugin so there isn’t a lot that can go wrong. If you do edit the plugin your edits will be lost if the plugin is ever updated. Yyou can prevent the plugin prompting for an update if you change the plugin version at line 7 to a much higher number:
eg:
Version: 99.0.0
I hope this helps