Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Freeware Java Applets

Status
Not open for further replies.

vonderbie

Vendor
Jul 17, 2002
18
SG
Hi wondering anyone have source for scrolling upwards News which is able to pause and clickable.

I came across mostly which I can only change to one text colour in the content. I will need to change header and content of the news as follow:


We can edit the content of the news by updating a .txt file?

Thanks in advance if any of you can help to recommend a freeware applets.
 
Here's a great one. Uses a separate HTML source file so you can use all sorts of colors, backgrounds, images, tables, etc.


Only drawback is it only works with MS Internet Explorer.

I've got a copy running on the main index page at if you want to see it in action.

::)
 
You could also put a page that autoscrolls inside an iframe.
Code:
page1.html

<iframe src="scrolling.html"></iframe>
Code:
scrolling.html

<html>
<head>
<script type="text/javascript">
<!--

var scrollPos = 0; // starting value
var time = 100 //time between scrolls in milliseconds
function doScroll()
{
  scrollPos += 5; // how much to go forward
  window.scrollTo(0,scrollPos)
  setTimeout("doScroll()",time);
}

// -->
</script>
</head>
<body onload="doScroll();">
Content
</body>
</html>

That is a bare example; see forum216 for more javascript.

--Chessbot

"See the TURTLE of enormous girth!"
-- Stephen King, The Dark Tower series
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top