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

    Posts

    Recent Best Controversial
    • RE: Help with inserting a script into a <div> element

      @adambd

      element.innerHTML =  `<div>     ENTER HTML CODE    </div>`
      

      you have to have the ` before and after the div indicators

      the key to the left of the 1 key

      posted in Development
      justjim1220J
      justjim1220
    • RE: Advanced stocks / finance module needed

      I have the ticker I was already using and the AVStocks ‘series’ on the same page, works great and looks good…

      0_1538093713793_Screenshot (67).png

      Thanks @Sean!!! :smiling_face_with_sunglasses: :smiling_face_with_sunglasses: :smiling_face_with_sunglasses:

      posted in Requests
      justjim1220J
      justjim1220
    • RE: Advanced stocks / finance module needed

      @epi

      @Sean did this…

      https://forum.magicmirror.builders/topic/8817/mmm-avstock/2

      posted in Requests
      justjim1220J
      justjim1220
    • RE: MMM-AVStock

      @sean
      I knew you could do it faster and better than I could!!! :smiling_face_with_sunglasses:

      posted in Productivity
      justjim1220J
      justjim1220
    • RE: I wana 3 or 4 Modules side by side

      @robiv8

      My question is how you got more than one to show side-by-side?
      Can this be done with 2 different modules?

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: Advanced stocks / finance module needed

      @sean

      You could probably get it done better and faster than I could!

      posted in Requests
      justjim1220J
      justjim1220
    • RE: Advanced stocks / finance module needed

      @epi

      are you wanting a ticker, or something more in depth, like charts and the likes?

      posted in Requests
      justjim1220J
      justjim1220
    • RE: Advanced stocks / finance module needed

      @epi

      I have mine fixed to show arrows at the moment:

      0_1537841835743_Screenshot (65).png

      posted in Requests
      justjim1220J
      justjim1220
    • RE: Help choosing more than one item from an array

      @mykle1

      I don’t know about taking it over, LOL.
      Just trying to help!

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: Help choosing more than one item from an array

      @sdetweil

      Well, at the moment it is throwing the following error:

      0_1537569574704_Screenshot (63).png

      I’ll look at it some more here in a little bit…

      Thanks for your input!

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: Help choosing more than one item from an array

      @sdetweil

      So, would the entry be like this: “Cats”, “Bats”, “Bears”,

      or like This: “Cats,Bats,Bears”,

      ?

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: Help choosing more than one item from an array

      @sdetweil

      Random would be great!

      I’ll give it a try, Thanks!

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: Help choosing more than one item from an array

      @strawberry-3-141

      Yeah, I got that while trying to write what I had going. Your example looks more correct.

      So, now I’m looking at your example but not exactly sure where to insert it into the code to get it to work.

      in the config.js, I am looking at the lifeforms array as such:

      lifeForms: "Striped Bass,Praying Mantis,Tigers,Hummingbirds,Venus Flytrap,Fox,Bald Eagle",
      

      then I added this to the defaults in the MMM-EOL.js:

      lifeForms: ["", "", ""],
      

      then I added your example to the start function:

              var lifeFormIds = this.config.lifeForms.split(',');
              var lifeFormIds =[];
              for (let lifeForm of lifeForms) {
                  if (this.config.lifeFormArray[lifeForm]) {
                      lifeFormIds.push(this.config.lifeFormArray[lifeForm]);
                  }
              }
      
              //  Set locale.
              this.url = "http://eol.org/api/pages/1.0.json?batch=false&id=" + this.config.lifeFormIds.join(',') + 
      

      I know this is definitely NOT right. This is where I am getting confused…
      Having 2 separate < var lifeFormIds > declared doesn’t look right.
      And, placing the ‘join’ part after the URL doesn’t look right either…

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-MyCalendar

      @cola0927

      change the text-align under title in the css

      .MMM-MyCalendar .title {
        color: #ff0;
        font-size: 55px;
        line-height: 115%;
        font-weight: 600;
        text-align: left;
        padding-left: 0;
        margin-bottom: 2px;
        white-space: nowrap;
        text-overflow: ellipsis;
        border-radius: 15px;
        overflow: hidden;
        display: block;
        margin-top: 4px;
      }
      
      posted in Utilities
      justjim1220J
      justjim1220
    • RE: Help choosing more than one item from an array

      @strawberry-3-141

      Yours looks better!
      :smiling_face_with_sunglasses:

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: Help choosing more than one item from an array

      @strawberry-3-141

      This Is what I’ve been working on so far…

      getLiforms: function () {
      		var url = "http://eol.org/api/pages/1.0.json?batch=false&id=";
      
      		var requestUrls = [];
      		var LifeformsArray = this.config.Lifeforms.split(",");
      
      		LifeformssArray.forEach(function(lifeform) {
      			var requestUrl = url + lifeform;
      			requestUrls.push(requestUrl);
      		}
      

      Am I even close to the right track???

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: Help choosing more than one item from an array

      @strawberry-3-141

      Oh, and I think it needs to be placed without spaces…

      [“Cats”,“Bats”,“Bears”]

      Not sure if that makes a difference with what you are pointing out, but I think it does.

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: Help choosing more than one item from an array

      @strawberry-3-141

      just to be sure you understand…

      He’s not looking for it to show all the lifeforms at the same time, but different ones in intervals set by the user.

      Like with Cats, Bats, Bears… Say at an hourly interval show each one individually.

      I’m looking at this as well, I brought up the idea with @Mykle1. I see what you are getting at, and I’ve been looking at the same thing, just not sure how to call them up individually at intervals…

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: NFL Score Module

      @gama

      Could you explain how you 'plugged it into the node_helper.js file?
      I would greatly appreciate it!

      TIA!!!

      posted in Sport
      justjim1220J
      justjim1220
    • RE: Issue with some symbols with MMM-CalendarExt

      @gnoorod

      Try this…

      from your MMM-CalendarEXT directory, run:

      npm install @mdi/font
      

      Hope this works!

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • 1
    • 2
    • 21
    • 22
    • 23
    • 24
    • 25
    • 32
    • 33
    • 23 / 33