MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. CyanKali
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 12
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Scheduled restart for MM or module

      Thank you so much, that was exactly what I was looking for!
      I can’t believe I did not find it with by searching, I thought I checked all the modules and forums…

      Someone added the possibility to get rid of the scrolling bars in the iframe module. I just copied the code from the iframe module and it works in the iframe reload module, too.

      I don´t want to take credit for it since I just copied it, but if it helps someone else, here is what I did:
      I added “iframe.scrolling = this.config.scrolling;” in the module file, there:

      // Override dom generator.
      getDom: function() {
      var iframe = document.createElement(“IFRAME”);
      iframe.style = “border:0”
      iframe.width = this.config.width;
      iframe.height = this.config.height;
      iframe.scrolling = this.config.scrolling;
      iframe.src = this.config.url;
      return iframe;
      },

      After that, you can set “scrolling:“no”,” in the within the module in the config file.

      Thanks again!

      posted in Troubleshooting
      C
      CyanKali
    • RE: Scheduled restart for MM or module

      Sorry for the late reply. I updated to the new MM release and it broke everything. But now I fixed it and was able to test again.

      I see the new content every time its refreshing, so it works!
      Thank you so much for your help!

      posted in Troubleshooting
      C
      CyanKali
    • 1 / 1