PDA

View Full Version : Simple Scrolling Text


2_russian
05-13-2003, 12:36 AM
Anyone wanna give me a source code for that lol

Ive done it b4 but that wa slike 3 years ago and i forgot how........

(Only using HTML no JS)

shlagish
05-13-2003, 02:24 AM
Any CSS allowed?

<div style="overflow: scroll; width: 200; Height: 150;">
A Lot Of Text (To Make It Scroll)
A Lot Of Text (To Make It Scroll)
A Lot Of Text (To Make It Scroll)
A Lot Of Text (To Make It Scroll)
A Lot Of Text (To Make It Scroll)
A Lot Of Text (To Make It Scroll)
A Lot Of Text (To Make It Scroll)
A Lot Of Text (To Make It Scroll)
A Lot Of Text (To Make It Scroll)
A Lot Of Text (To Make It Scroll)
A Lot Of Text (To Make It Scroll)
A Lot Of Text (To Make It Scroll)
A Lot Of Text (To Make It Scroll)
</div>

ronaldb66
05-13-2003, 09:35 AM
Do you mean moving text, like a marquee, or ticker tape? One line, multiple lines? Horizontal, vertical? Left, right, up , down?

2_russian
05-13-2003, 03:39 PM
just side to side.. kind of like what you can do in java soo that your site description scrolls at the botom in the status bar area..... but i need it with just html not sure how.....

ronaldb66
05-13-2003, 03:54 PM
AFAIK, this cannot be done with pure HTML; you'll need Javascript to access such properties. By the way: tinkering with the status bar is usually regarded as highly annoying; thought I just mention it.
You may be referring to the IE-proprietary element <marquee>, but since it's not supported by any other browsers and is not in any HTML standard, nor will it ever be, I strongly recommend against using it.

2_russian
05-13-2003, 04:57 PM
Hmmm well apperantlly you can lol

someone said that would work and it does:
<marquee>text here</marquee>

(in the forum im always on anyways....)

2_russian
05-13-2003, 06:31 PM
ronaldb66: damn sorry man didnt read ur entire post lol

ma bad....

BTW: ive never heard of that command b4 "marquee" is it used for anything "USEFULL"..........

BloodXero
05-13-2003, 06:45 PM
also not only is the marquee tag slimly supported but you have to control it with javascript/css or something non-html.

2_russian
05-13-2003, 10:36 PM
Aiiiight thnx for yall input
=-)

cg9com
05-14-2003, 08:37 AM
Originally posted by BloodXero
also not only is the marquee tag slimly supported but you have to control it with javascript/css or something non-html.
there are alot of defining/formatting attributes that come along with the marquee element.
behavior, direction, loop, scrolldelay, scrollamount, truespeed

but the more complex you want, yes it requires scripting.

whackaxe
05-14-2003, 03:42 PM
marquee is a pain, its IE only i think. + its ugly. alhough you can control it easily with javascript. why not habe a really big text box in a form wich take off the first letter of your string to give the scrolling effect. that what id do, but then i would have to code it :p