• During testing I found this option:

    • add lines to app.js, just before setting data to api (at the end of function openPopup)
      if(options.attachTo){
      var loc = $(options.attachTo).offset();
      $("#" + options.id).css({position:"absolute"}).o­ffset({top:loc.top,left:loc.left});
      }

    • add an attribute to object to call of openPopup
      Espruino.Core.App.openPopup({
      position: "relative",title:.....,attachTo:"#id of object where popup should be on screen"...})

About

Avatar for JumJum @JumJum started