Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8597987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:03:04+00:00 2026-06-12T01:03:04+00:00

I have a marquee on the page (that scrolls the page), it scolls directly

  • 0

I have a marquee on the page (that scrolls the page), it scolls directly when you start the page. But i want it to scroll when i push the button, so not to scroll directly. It corresponds with an audio file (song text). What do i need to add to stop the text scrolling directly on the page enter.

This is the marquee:

<marquee behavior="scroll" height="100%" vspace="0%" direction="up" id="mymarquee" scrollamount="0" scolldelay="1000" loop="1"> SONG TEXT GOES HERE </marquee>

and these are the buttons i would like to connect to the above script with the audio function in place so the marquee does not scroll when you enter the page and starts scrolling when you push the play-button and pauses when you click the button again etc.

<div id=audioplay>
<div id="HTML5Audio"><audio id="myaudio"></audio>
<input id="audiofile" type="text" value="" style="display: none;"/>

<img id="off" src="images/general/sound-off.png" width="40" height="32" onClick="show('on'); hide('off'); playAudio(); document.getElementById('mymarquee').start();" alt="on">

<img id="on" src="images/general/sound-on.png" width="40" height="32" onClick="show('pause'); hide('on'); pauseAudio(); document.getElementById('mymarquee').stop();" style="display:none;" alt="off">

<img id="pause" src="images/general/sound-pause.png" width="40" height="32" onClick="show('on'); hide('pause'); playAudio(); document.getElementById('mymarquee').start();" style="display:none;" alt="on">

</div>     
​</div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:03:05+00:00Added an answer on June 12, 2026 at 1:03 am

    By adding the mymarquee.stop() in the body onload the automatic start of the marquee was solved. 🙂

    <body onload="document.getElementById('mymarquee').stop();">
    

    Now we have a working multi-toggle play-button that plays and pauses the audio file and at the same time scroll the song-text (incl. pause as well) of the audio over the complete screen. Works like a charm 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a Marquee that scrolls some news articles but when the
I have an ASP.net page with dynamic content that are inside Controls, some of
I have a marquee style progress bar at some point I want it to
I have a marquee that is scrolling upwards. <marquee scrollamount=2 scrolldelay=0 direction=up> Element One<br/>
Hi i have implemented scrolling text horizontally through this link LabelField Marquee . But
I know that <marquee> tags are evil. If it is so bad to have
So I'm creating an app that requires for a TextBlock to have a marquee
Hi I have a layout that contains a gallery a textview with .setEllipsize(TruncateAt.MARQUEE); They
I have a scrolling carousel of images and captions that interact separately but coordinate.
I have a ProgressBar that uses the marquee style when a report is being

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.