Comments (5)
Please can you link here the onScreenMenu module? I'll check how they're handling the positioning, and I can change it that way.
from mmm-network-signal.
https://github.com/shbatm/MMM-OnScreenMenu
and my config is:
{
module: 'MMM-OnScreenMenu',
position: 'bottom_left',
/* Valid positions: 'top_right', 'top_left', 'bottom_right', 'bottom_left' */
config: {
touchMode: true,
enableKeyboard: true,
menuItems: {
//moduleToggle1: { title: "Toggle forcast", icon: "car", name: "weatherforcast" },
refresh: { title: "Refresh", icon: "recycle", source: "LOCAL" },
toggleFullscreen: { title: "Toggle Screen", icon: "desktop" },
notify1: {
title: "Display Forcast",
icon: "eye",
notification: "CURRENT_PROFILE",
payload: "Weather_Forcast"
},
},
// ... see more options below
},
},
from mmm-network-signal.
Any Update? I will do this to that the wifi signal top right is. I will check the other module and do some test maybe i can find something.
from mmm-network-signal.
@PoOwAa @mcnahum I just try it per custom.css:
.MMM-network-signal {
Position: absolute;
Left: 200px;
Top: 200px;
Z-index: 1;
}
worked but 5 sec after load he goes to his initial position (in my config.js is this top_bar). Any idea how so?
from mmm-network-signal.
@PoOwAa @mcnahum I just modify the position of the module to be in a absolute position on the bottom right. What i do for this (Im not a Pro i just do this like a DIY project for me,it worked for me and i don't have any problem)
1.- I need to give permissions to .git/objects first, without didn't work for me. So first of all:
cd MagicMirror/modules/MMM-network-signal/.git
sudo chmod -R 777 objects
2.- Then just added in MMM-network-signal.js under getDom: function () {} the css you want, like this exemple:
getDom: function() { // original line
const content = document.createElement("div"); // original line
content.style = "display: flex;flex-direction: row;justify-content: space-between; align-items: center"; // original line
const wifiSign = document.createElement("img"); // original line
wifiSign.style = "transform:scale(0.25)";
wifiSign.style.position = "absolute"; // add this line
wifiSign.style.right = "-20px"; // add this line
wifiSign.style.top = "910px"; // add this line
wifiSign.style.zIndex = "2"; // add this line
if (this.config.showMessage) // original line
from mmm-network-signal.
Related Issues (14)
- Colour? HOT 4
- Icon Size HOT 6
- Consider transparent images and text with no predefined background HOT 1
- Black screen HOT 3
- Module breaks config HOT 4
- Translate to danish "da.json" HOT 1
- Feature request: optional reconnect if connection drop HOT 1
- Remeber to inster the line HOT 1
- Please add Dutch translation (nl.js)
- top_right icon/status overlap HOT 4
- Mirror doesn't load up HOT 1
- Documentation HOT 1
- Module always shows the same animation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmm-network-signal.