/    Sign up×
Community /Pin to ProfileBookmark

Marquees – getting them to stop scrolling

I’ve done this before but it was a very long time ago.

What I am looking to do is to cause the marquee to stop scrolling while the user has their mouse pointer over the marquee area. My HTML book mentions just about everything with marquees but it doesn’t mention how to do what I am looking to do.

Would I be required to write a JavaScript for this?

Thanks!

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@felgallApr 06.2006 — Since the only way to produce a cross-browser marquee is to use Javascript then yes you would need Javascript to make one that will stop on mouseover. See http://javascript.about.com/library/bltick1.htm for my marquee script that automatically stops on mouseover.
Copy linkTweet thisAlerts:
@skilled1Apr 06.2006 — actually the code is right here. just save it and edit it to your needs.

http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm



[I]Description[/I]: This is a nifty cross-browser marquee with added features, such as configurable speed, background color, and option to pause scroller onmouse over. Did we mention it's nifty?
Copy linkTweet thisAlerts:
@the_treeApr 06.2006 — Definately use fellgall's example, if just because it's shorter.
Copy linkTweet thisAlerts:
@ray326Apr 07.2006 — I think the best way to stop 'em scrolling is to replace "marquee" with "p". ?
Copy linkTweet thisAlerts:
@felgallApr 07.2006 — I think the best way to stop 'em scrolling is to replace "marquee" with "p". ?[/QUOTE]

Or just use a browser that doesn't recognise the marquee tag - there are lots of them out there because it isn't a standard tag.
×

Success!

Help @kaygdanimal 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.26,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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