• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Automatic scrolling at IFrame Module

Scheduled Pinned Locked Moved Development
6 Posts 2 Posters 1.0k Views 2 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.
  • H Offline
    Hendrik9203
    last edited by Feb 16, 2020, 3:10 PM

    Hey everybody,

    i have a little Problem. I’m new to javaScript, CSS and HTML. Now i have to create a MagicMirror and like to scroll a Website in a IFrame automatically from Top to bottom and back. Is there any possibility to realize this?

    S 1 Reply Last reply Feb 17, 2020, 1:45 PM Reply Quote 0
    • S Away
      sdetweil @Hendrik9203
      last edited by Feb 17, 2020, 1:45 PM

      @Hendrik9203 what do you mean by ‘automatically scroll’?

      some sites will detect the size of the iframe and resize themselves…
      some do not, and assume a large size that would require scrolling to see it all…

      scrolling requires some input device mechanism… mouse or keyboard
      (or simulation of those)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • H Offline
        Hendrik9203
        last edited by Feb 17, 2020, 3:57 PM

        I think a bit more information are required. So i use the Modul MM-iFrame to display a website. These Website are to long to show in the iFrame and i like to scroll the Website automatically to the end and then startup again at the top. Is there any hint to make this work?

        S 1 Reply Last reply Feb 17, 2020, 4:06 PM Reply Quote 0
        • S Away
          sdetweil @Hendrik9203
          last edited by Feb 17, 2020, 4:06 PM

          @Hendrik9203 maybe something like this

          https://github.com/AgP42/MMM-SmartWebDisplay

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • H Offline
            Hendrik9203
            last edited by Feb 17, 2020, 4:17 PM

            But there also no posibility to scroll the Website automatically. There are only the posibility to scroll different URLs.

            S 1 Reply Last reply Feb 17, 2020, 4:42 PM Reply Quote 0
            • S Away
              sdetweil @Hendrik9203
              last edited by Feb 17, 2020, 4:42 PM

              @Hendrik9203 ah, u want to scroll the page IN the iframe…

              I don’t know anything that does it already

              here is some technical info about ‘HOW’ to do it…

              https://www.dyn-web.com/tutorials/iframes/postmessage/

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                2/6
                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