• 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.

Sending Notification to html-file!?!?

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 491 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.
  • T Offline
    thgmirror
    last edited by Mar 17, 2022, 10:37 PM

    Hi,
    Is it possible, to send notifications to a html?
    I would like to use this nice methode to call javascript-functions in a local-stored html-file.
    If possibel, an example would be helpful.

    S 1 Reply Last reply Mar 17, 2022, 10:44 PM Reply Quote 0
    • S Away
      sdetweil @thgmirror
      last edited by Mar 17, 2022, 10:44 PM

      @thgmirror the words don’t make any sense.

      html is not an active descriptive language. the script tag encapsulates some logic that is invoked by and can call the browser runtime.

      notifications are a mm construct, and are not content centic.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Mar 17, 2022, 10:55 PM Reply Quote 0
      • T Offline
        thgmirror @sdetweil
        last edited by Mar 17, 2022, 10:55 PM

        @sdetweil yes, and that is my question…if there is a way to call functions in an html.

        S 1 Reply Last reply Mar 17, 2022, 11:05 PM Reply Quote 0
        • S Away
          sdetweil @thgmirror
          last edited by Mar 17, 2022, 11:05 PM

          @thgmirror it’s not ‘in an html’
          it has to be loaded into a browser.

          and then u have to export it correctly, and THEN you can call it ft another script.

          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
            4/4
            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