Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #31619 > unrolled thread
| Started by | bit-naughty@hotmail.com |
|---|---|
| First post | 2016-10-27 00:08 -0700 |
| Last post | 2016-10-27 14:52 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.javascript
Scrolling text with wrap inside a button bit-naughty@hotmail.com - 2016-10-27 00:08 -0700
Re: Scrolling text with wrap inside a button Martin Honnen <martin.honnen@gmx.de> - 2016-10-27 14:52 +0200
| From | bit-naughty@hotmail.com |
|---|---|
| Date | 2016-10-27 00:08 -0700 |
| Subject | Scrolling text with wrap inside a button |
| Message-ID | <057b2eb8-5c20-4e37-ac3f-93c4b0561423@googlegroups.com> |
If I have a button, and I want to scroll some text upwards within it, but with wrap, ie. whatever goes off the top has to reappear at the bottom, ie. loop, what do I do? It has to be a slow, pixel scroll. I'm kind of stuck on how to scroll it with wrap in the first place, never mind how to do it inside a *button*!!! Thanks.
[toc] | [next] | [standalone]
| From | Martin Honnen <martin.honnen@gmx.de> |
|---|---|
| Date | 2016-10-27 14:52 +0200 |
| Message-ID | <nustab$e9n$1@news.albasani.net> |
| In reply to | #31619 |
On 27.10.2016 09:08, bit-naughty@hotmail.com wrote: > If I have a button, and I want to scroll some text upwards within it, but with wrap, ie. whatever goes off the top has to reappear at the bottom, ie. loop, what do I do? It has to be a slow, pixel scroll. > > I'm kind of stuck on how to scroll it with wrap in the first place, never mind how to do it inside a *button*!!! One way is <button> <marquee direction=up>This is some button text.</marquee> </button> although note that the marquee element https://www.w3.org/TR/html5/obsolete.html#the-marquee-element-0 is obsolete and CSS transitions/animations are preferred but on the other hand not finalized.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.javascript
csiph-web