TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 1,186
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 663
  • Total: 663

Scrolling Status Bar Text Block

Started by Techdomain, September 24, 2006, 09:28:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Techdomain

If you want to add scrolling text to the bottom of visitors status bars, just add the following code to a script block, hide the frame and title, and publish it.
Edit line 4 to say what you want it to say.
I have tested this in IE6

Example: look at the bottom left of your browser window at http://www.techdomain.com.au


<Script LANGUAGE="JavaScript">
<!-- Hide this from older browsers
var Count = 0; var
Text = "This is the line that you edit.";
var Speed = 90;
var timerID = null;
var TimerRunning = false;
var i = 0;
while (i ++ < 140) Text = " " + Text;
function Scroll()
{ window.status = Text.substring(Count++, Text.length);
if (Count == Text.length) Count = 0;
timerID = setTimeout("Scroll()", Speed);
TimerRunning = true; }
function Start()
{ Stop(); Scroll(); }
function Stop()
{ if(TimerRunning) clearTimeout(timerID); TimerRunning = false; }
Start();
// end hide -->
</Script>

RoarinRow


SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0


Vinspire

ermm ... which block is this ? can printscreen the actual image.

i did take a look at the site and bottom right but still don't get it.

sorry for my stupidity :(

Techdomain

bottom left, off screen :) where it usually says "Done"


christicehurst

Damnit this is a clever idea. Well Done!

rctxtreme


akulion

It works in FF for me too - havent tried opera yet though but it should I think

rctxtreme

In FF 1.5.0.7 it just says Done under Tech Domain...

This website is proudly hosted on Crocweb Cloud Website Hosting.