Marque Time

How can i add a time and date in the li tags that will runs across the screen?


</style>

  <ul class='marquee'>
    
    <li></li>

    <li></li>

    <li>  </li>
  </ul>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jQuery.Marquee/1.3.94/jquery.marquee.js"></script>
  <script>

  $(function () {
    $('.marquee').marquee({
      duration: 20000,

      duplicate: true

    });
  })();

I don’t mean to be disparaging, but don’t. If I want to see the time and date I will look at my PC clock.

Marquees/tickers are considered an antipattern by many.

3 Likes

That won’t help

This seems awfully relevant/similar to

Please continue that discussion as it seems @PaulOB gave you a solution, maybe explain why that solution fails to work?

3 Likes