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

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 01:05:43 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 143
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 144
  • Total: 144

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...