1

I have created a Marquee in my HTML with

<marquee behavior="alternate" scrollamount="1" width="400">
</marquee>

And it's working fine.

But I would like to add arrows to this marquee so allow the user to the contents to move left/right faster.

I've been attempting to use scroll bars but doesn't seem like the best solution as the scroll width will have to be smaller than marquee width for it to work.

Any solutions.

Nikita Volkov
  • 42,792
  • 11
  • 94
  • 169
  • Firstly, do you mean a scrolling text marquee? These are now deprecated. Secondly, post your code. – Mick Jones Jan 18 '13 at 12:25
  • Welcome to StackOverflow. Please read the [FAQ](http://stackoverflow.com/faq#questions) on how to ask questions. – hjpotter92 Jan 18 '13 at 12:26
  • hi mick my marquee is for thumbnail images to automatically scroll in a small box: it does work, but my question is can i add arrows to the left and right of this box and allow the server to scroll faster than the marquee left or right if they wish – user1990103 Jan 18 '13 at 14:52

1 Answers1

1

Are you just using plain HTML, or can you use Javascript / jQuery? If so, something like this might be helpful:

http://remysharp.com/demo/marquee.html

That's just from a quick Google, so there might be prettier jQuery solutions out there.

DaveyDaveDave
  • 9,821
  • 11
  • 64
  • 77
  • I'm just using plain HTML and CSS in Wordpress Sadly my skills ends here, I've never used javascript or jquery:( can this not be done in HTML or CSS – user1990103 Jan 18 '13 at 12:25
  • Then I think you might be stuck. Also, most people generally dislike marquees, so you might be better off finding a different solution, if possible. – DaveyDaveDave Jan 18 '13 at 12:27
  • i see... i agree with the dislike of marquees, but my boss likes it :( Thanks very much any way ^_^ – user1990103 Jan 18 '13 at 12:30