External sites works good. Is someone familiar with error “Cannot GET *.html”, allways get this error when i tray to link to local site (html). If someone know how to solve the problem can please respond?
Read the statement by Michael Teeuw here.
Posts
-
RE: Button / modul
-
RE: Button / modul
@broberg thank you so much, i did it finally. I can’t upgrade to v.2.1.1 (i tray it on Linux and Respberry pi3) but it wont launch on Windows, becuse he use sh to launch the app (MM). I will tray to add sh to Environment Varibale… But this is good for now.
Thx again
-
RE: Button / modul
@broberg i’m running MM ver. 2.1.0 on Win 10 and Node.js 7.9.0 installed
-
RE: Button / modul
@broberg i modify helloworld just like you sead, but still not active. Is thare function that can call it?
Thank you again! ```
//your code heregetDom: function() { var wrapper = document.createElement("a"); wrapper.innerHTML = "<a href="https://www.google.hr">" + this.config.text + "</a>"; return wrapper; } });
-
RE: Button / modul
No problem,
i add this in head in html:```
function myFunction() {
var newButton = “Click me!”;
var result = newButton.link(“https://www.google.com”);
document.getElementById(“btn”).innerHTML = result;
}This works great in my html file. Thank you Romain
-
RE: Button / modul
Thank you for help,
but i didn’t get the click in function, i tray to add it like my own module and put it in index.html, but both doesn’t work. I have it on screen but it is not operational, in my test html it works. I remove hidden mouse cursor in css, so i can move it ower screen for testing but it will fit behind touchscreen. I’m begginer in javascript, so this is my first time meet with node and electron. Is modul requires certain writing rules to be active?
Thank you
-
Button / modul
Hi,
i have add a button on magicmirror main screen. Problem is that i can’t start button (it is not interactive), i cant click on him. What i want to do is have button that can link me to some site or local path on pc. Is thare solution for this? Please help someone!
Thank you,
P.S. Michael, i just want to say that the project is great. Just ahead with development. Regards!
-
RE: Touch screen over two way mirror
Hi,
is anybody solve the problem with foil behind mirror? I asked several company’s for info and thay tell me that Projected capacitive will be the best sollution but miror may not contain metal inside. Is thare mirror / glass that is good to use with foil which does not create interference?
Is somebody succeed with this?