/    Sign up×
Community /Pin to ProfileBookmark

How to make text scroll across an area of the screen?

I feel kinda stupid asking this with Html 4 For Dummies sitting next to me, but i simply can’t find it: how do you make a certain text float across the screen? An example of this is the “welcome to gwe” from my clan homepage, [url]*****[/url]

to post a comment
HTML

18 Comments(s)

Copy linkTweet thisAlerts:
@WebJoelJul 10.2007 — <marquee>Scrolling text part goes in here</marquee>

Adjustments for width, direction, repeat, etc. Look for "marquee" in your book or Google the term. I have not used marquee in years so, do not recall the specifics.
Copy linkTweet thisAlerts:
@felgallJul 11.2007 — Of course Marquee is a proprietary tag that only works in some browsers. If you want something that works in all browsers you need to use JavaScript.

Also the scrolling is a behaviour and not part of the content and so if you are writing your HTML semantically the way you ought to then such tags as marquee should never be used even if they were part of the standards (which they never will be).
Copy linkTweet thisAlerts:
@WebJoelJul 11.2007 — Never say never... I read a small report that something similar to the "marquee" tag will or might be used in CSS3... (or perhaps this was wishful thinking for the author of that page/site which I didn't bookmark...)
Copy linkTweet thisAlerts:
@felgallJul 11.2007 — Well it would make more sense as CSS than as HTML since it could be argued that it is part of the appearance of the page as much as it is part of the behaviour of the page. It certainly isn't part of the content though.
Copy linkTweet thisAlerts:
@Major_PayneJul 11.2007 — CSS# may yet support it:

http://www.w3.org/TR/css3-box/#marquee

Ron
Copy linkTweet thisAlerts:
@AugurJul 11.2007 — I was thinking about doing something like the scrolling headlines on this page, but with custom headlines that I choose. This isn't a Marquee command, it says "ticker" in the sourcecode.

What is the difference, and how hard is this to implement?

thanks
Copy linkTweet thisAlerts:
@AugurJul 11.2007 — oops. I forgot to add the link

http://www.breitbart.com/article.php?id=070711162154.zr8euodr&show_article=1&catnum=-1

thanks. i'll check out the links
Copy linkTweet thisAlerts:
@Major_PayneJul 11.2007 — oops. I forgot to add the link

http://www.breitbart.com/article.php?id=070711162154.zr8euodr&show_article=1&catnum=-1

thanks. i'll check out the links[/QUOTE]
That LINK uses JS for ticker. Rest within page is styling and layout for ticker info and display.

Ron
Copy linkTweet thisAlerts:
@AugurJul 12.2007 — Thanks for tracking that down, Ron.

That's a little too rich for me right now, but I will keep it in mind.

However, Mioplanet also seems to offer a free and cheaper alternative here.

http://www.mioplanet.com/rsc/newsticker_javascript.htm

I've got it to work with text as the ticker, but not pulling from an rss.feed, which it says it can do

<DIV ID="TICKER" STYLE="overflow:hidden; width:520px" onmouseover="TICKER_PAUSED=true" onmouseout="TICKER_PAUSED=false">

[B][U] <? include "feed.xml" ?>[/U][/B]

</DIV>

<script type="text/javascript" src="webticker_lib.js" language="javascript"></script>

Any ideas? What I want to happen is to click on the title in the ticker and have it open in a new window.

thanks, steve
Copy linkTweet thisAlerts:
@Major_PayneJul 12.2007 — Not sure that's gonna work without you making a php file for the RSS feed.

Ron
Copy linkTweet thisAlerts:
@AugurJul 12.2007 — Not sure that's gonna work without you making a php file for the RSS feed.

Ron[/QUOTE]

oy! That is not something I know how to do. I guess I am off to the php thread.
Copy linkTweet thisAlerts:
@Major_PayneJul 12.2007 — OK. Let me know if someone gets it to work for you as I might want to play around with it myself.

Ron
Copy linkTweet thisAlerts:
@AugurJul 12.2007 — Here's the thread Ron. Thanks for any extra light you can shed!

steve

http://www.webdeveloper.com/forum/showthread.php?p=776418#post776418
Copy linkTweet thisAlerts:
@felgallJul 12.2007 — Ticker/Marquee javaScripts are extremely simple.

I have one anyone can copy at http://javascript.about.com/library/bltick1.htm

To scroll vertically instead of horizontally see http://javascript.about.com/library/blscroll1.htm
Copy linkTweet thisAlerts:
@Major_PayneJul 12.2007 — He wants to use the one where he can install the RSS feed instead of what is offered at about.com.

Ron
Copy linkTweet thisAlerts:
@AugurJul 12.2007 — Ron's right. I've got the ticker working, it is loading it from a RSS feed that is the challenge.

Your site is great, btw. Lots of info there for me to learn. Thanks.
×

Success!

Help @mchief111 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.3,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...