MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    New windows, NOT full size

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 2 Posters 518 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mohammadjmag
      last edited by

      I I quote Ms. mortenbirkelund problem
      "Hi
      I am working on a MagicMirror with touch. Therefore I inserted the following code into the getDom function in the newsfeed module, in order to add a link to the news, so a new browser window will open and i can read the whole news in a browserwindow.

      		var url = this.newsItems[this.activeItem].url;
      		wrapper.addEventListener("click", function () {				
      			window.open(url,'popUpWindow','height=500,width=500');
              });
      

      return wrapper;
      This works perfect when I run it in my browser (node serveronly), but when I run it normally (npm start), then the new browser window is full size, and therefore the top bare is missing, and the windows cannot be closed again. Is there anyway, to make sure that the new browser windows is not full size when it opens?"

      “I want the MagicMirror window to to be fullscreen. I would just like to be able of opening a window that is not full screen.”

      any one solve this problem???

      C 1 Reply Last reply Reply Quote 1
      • C Offline
        Claudiop193w @mohammadjmag
        last edited by

        @mohammadjmag hello friend, I’m new and I would like to understand how I need to have the mirror with the touch could you help me

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy