• I’m having trouble figuring out how to change the position of the popup box when it comes up. Currently it comes up in the default location which is the top left corner directly in the middle of my display. I would like for it to come up more in the middle or even up in the top left corner so that the user does not have to scroll over to close the popup. I’ve read some things on how to change the java script but im having trouble figuring out exactly what it is that i need to change/do.

    https://www.ads-software.com/extend/plugins/anything-popup/

Viewing 1 replies (of 1 total)
  • Go to the plugins editor in your dashboard and select anything-popup/anything-popup.js scroll down (not far from the top) until you find this lines:

    formdiv.style.top = pt.y + "-200px";
    formdiv.style.left = pt.x + "-550px";

    The numbers -200 and -550 are not standard values (can’t remember the default ones, sorry) but my own values which will make the popup-window appear below the link. It doesn’t matter where you place the link or imagelink, it will always appear right under it. You have to put in your own values and experiment to find the suitable location for your pop-up window.

    You can see my example here

    you have to click on the red stitched button in the right corner under the navigation-bar, to get the pop-up window

    I hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Anything Popup] Changing location of popup window’ is closed to new replies.