Web Analytics Made Easy -
StatCounter Timer on Marquee - CodingForum

Announcement

Collapse
No announcement yet.

Timer on Marquee

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Timer on Marquee

    Hello

    I have a Marquees and a DHTML dynAnimation text (where Text fly in on to the page). When the page load the Marquees pop and the flying text comes in at the same time. Making the page look too busy.

    Can someone help me with a timer, so I can have the effects happen one after another?

    Thanks

    Dave
    Surfer Dave

  • #2
    You could try using the :

    setTimeout("yourfunction ()",time)

    Where yourfunction is the function that starts the flying text and time) is the delay in milliseconds

    Comment


    • #3
      Here are two examples of delaying a Marquee.

      The speed of the marquee is 5
      The delay of the marquee is 5 seconds.

      The second example is hidden until the marquee runs



      <script>
      function move(){
      javascript:scroller.scrollAmount=5

      scroller2.style.visibility="visible"
      javascript:scroller2.scrollAmount=5
      }
      setTimeout("move()",5000)
      </script>



      <marquee id="scroller" behavior=alternate onstart="this.scrollAmount=0" A Marquee Message</marquee>


      <marquee id="scroller2" behavior=alternate onstart="this.scrollAmount=0" style="visibility:hidden">A Marquee Message</marquee>

      Comment


      • #4
        don't know why it happen but there appears to be a space in the word javascript

        Javascript is one word

        Comment

        Working...
        X