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

MMM-Stock (issues with 'height' of the module)

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 4 Posters 4.2k Views 4 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.
  • V Offline
    valid8r
    last edited by Dec 18, 2016, 5:36 PM

    I’ve implemented this module and it works with an ‘upward scrolling’ ticker. Presently, as implemented with 3 stocks, the ‘height’ of the scrolling is just one line. While hard to describe, basically, my first stock displays nicely and then rolls up and is replaced with the second stock. What I would think the module would do is show 4 or 5 stocks rolling at the same time so you could see more than one at a time. I’m not sure what this portion of the .css file really does and am wondering if this is what I need to change to increase the scrolling real-estate…?

    @keyframes ticker {
    0% {margin-top: 0}
    25% {margin-top: -30px}
    50% {margin-top: -60px}
    75% {margin-top: -90px}
    100% {margin-top: 0}
    }

    V 2 Replies Last reply Dec 18, 2016, 6:43 PM Reply Quote 0
    • V Offline
      valid8r @valid8r
      last edited by Dec 18, 2016, 6:43 PM

      @valid8r Also, anyone have any idea how to get the symbol for the Dow Jones which is “^DJI” to work with this module?

      1 Reply Last reply Reply Quote 0
      • V Offline
        valid8r @valid8r
        last edited by Dec 18, 2016, 7:05 PM

        @valid8r I seem to have figured out at least part of the solution by setting the parameter "

        .quotes {
        height: 25px;

        to

        .quotes {
        height: 100px;

        While this fixes the number of scrolling ‘rows’ of stocks, the animation is still kind of strange…

        V 1 Reply Last reply Dec 18, 2016, 7:17 PM Reply Quote 0
        • V Offline
          valid8r @valid8r
          last edited by Dec 18, 2016, 7:17 PM

          @valid8r I also don’t understand this code for animation and how it works…

          .quotes ul:hover { animation-play-state: paused }
          .quotes span:hover+ul { animation-play-state: paused }

          S Q 2 Replies Last reply Dec 20, 2016, 6:29 PM Reply Quote 0
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer @valid8r
            last edited by Dec 20, 2016, 6:29 PM

            @valid8r I’m not familiar with this module, but :hover is a css pseudo-class which will be active when you “hover” mouse over the element. in this case the defined animation will be paused, and will be continued after you leave the element with your mouse, because the hover state will be inactive.

            More about pseudo classes here http://www.w3schools.com/css/css_pseudo_classes.asp

            Please create a github issue if you need help, so I can keep track

            1 Reply Last reply Reply Quote 0
            • Q Offline
              qqqqqqqq @valid8r
              last edited by qqqqqqqq Feb 16, 2017, 6:18 PM Feb 16, 2017, 6:00 PM

              @valid8r

              Hi, I’ve been trying to use this module but every time it shows me config file error, and in case it starts without any error, i can’t see it in the MagicMirror.
              Can you help me out here? Can you share the code that you’ve used?

              1 Reply Last reply Reply Quote 0
              • B Offline
                Babene1 Project Sponsor
                last edited by May 30, 2017, 11:14 AM

                i try to disable the animation but without success.
                has someone a solution?

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