/    Sign up×
Community /Pin to ProfileBookmark

This javascript not working in Firefox

I have tried to implement the script at [url]http://javascript.internet.com/scrolls/news-scroller.html[/url] and it works fine in IE (PC and Mac), Safari … but it does not work in Netscape 7.2 (Mac, didn’t try PC) and Firefox (Mac, didn’t try PC).

In Firefox the items appear to scroll down the page, do seem to stay within the table borders. In Netscape, the scrolling text does not appear at all.

Any ideas of coding changes to make it work in those browsers ?

Thanks

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@VladdyMay 17.2005 — <i>
</i>&lt;div style="height: 20em; width: 20em; overflow: auto"&gt;
&lt;h3&gt;News Header&lt;/h3&gt;
&lt;p&gt;News text&lt;/p&gt;
&lt;h3&gt;News Header&lt;/h3&gt;
&lt;p&gt;News text&lt;/p&gt;
&lt;!--Rinse Repeat --&gt;
&lt;/div&gt;

No need to misuse scripting for a simple functionality like that. No need to abuse users by making them wait for the scroller to get to the item of interest.
×

Success!

Help @ehamburg 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.27,
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,
)...